Barney color #AC1DB8
Barney is a color name from the xkcd color survey for the hex code #AC1DB8 — RGB 172, 29, 184, HSL 295°, 73%, 42%.
#AC1DB8Barney
Color codes
- HEX
#AC1DB8- RGB
rgb(172, 29, 184)- HSL
hsl(295, 73%, 42%)- CMYK
7%, 84%, 0%, 28%- OKLCH
oklch(54% 0.236 324.5)
Tints and shades
#FFEFFF#FCC4FF#F894FF#EB64F6#CE48DA#B327BF#9500A1#73007C#530059#340039#19001C
Color harmonies
Complementary
#AC1DB8#00861E
Analogous
#7D3DE5#AC1DB8#C60076
Triadic
#AC1DB8#8C6800#007E87
Split complementary
#AC1DB8#6E7600#00816B
Tetradic
#AC1DB8#A85400#00861E#0078A6
Contrast with text
| Pair | WCAG 2.x ratio | APCA Lc | Result |
|---|---|---|---|
| Barney text on white | 5.80 : 1 | 77 | AA — body text |
| Barney text on black | 3.62 : 1 | -24 | AA for large text only |
| White text on Barney | 5.80 : 1 | -83 | AA — body text |
| Black text on Barney | 3.62 : 1 | 27 | AA for large text only |
Frequently asked questions
What is the hex code of Barney?
Barney has the hex code #AC1DB8, which is RGB 172, 29, 184 and HSL 295°, 73%, 42%.
Which text color reads best on Barney?
White text: contrast 5.80 : 1 (black text: 3.62 : 1).
Which colors go well with Barney?
Its complementary color is #00861E; analogous colors are #7D3DE5 and #C60076; a triadic set adds #8C6800 and #007E87.
Similar colors
- Dark Orchid #9932CC
- Purply #983FB2
- Barney Purple #A00498
- Vibrant Purple #AD03DE
- Dark Violet #9400D3
- Purpley Pink #C83CB9
- Warm Purple #952E8F
- Pinky Purple #C94CBE
- Medium Orchid #BA55D3
- Blue Violet #8A2BE2
Sources and licences
- xkcd color survey (Randall Munroe, CC0 1.0)
- Afoli — conversions, shades, harmonies, WCAG 2.x / APCA contrast (tools/color/color-core.js)