#AC2A9B#AC2A9B
#AC2A9B is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.1% C 0.203 H 334.0°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #AC2A9B |
|---|---|
| RGB | rgb(172, 42, 155) |
| HSL | hsl(308, 61%, 42%) |
| HSV | hsv(308, 76%, 67%) |
| CMYK | cmyk(0%, 75.6%, 9.9%, 32.5%) |
| CIE-LAB | lab(42.45, 63.01, -32.50) |
| CIE-LCH | lch(42.45, 70.90, 332.72°) |
| OKLab | oklab(53.09% 0.1829 -0.089) |
| OKLCH | oklch(53.09% 0.203 334) |
| XYZ | xyz(23.7578, 12.7952, 32.2225) |
| Luminance | 0.1279 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.73
Warm Purple
#952E8F
ΔE00 4.37
Medium Purple
#9E43A2
ΔE00 4.41
Barney Purple
#A00498
ΔE00 4.79
Barney
#AC1DB8
ΔE00 5.32
Purply
#983FB2
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC2A9B #2AAC3B
analogous
#7C2AAC #AC2A9B #AC2A5A
triadic
#AC2A9B #9BAC2A #2A9BAC
tetradic
#AC2A9B #AC7C2A #2AAC3B #2A5AAC
square
#AC2A9B #AC7C2A #2AAC3B #2A5AAC
split-complementary
#AC2A9B #5AAC2A #2AAC7C
monochromatic
#4A1242 #7B1E6F #AC2A9B #D142BE #DD73CF
Accessibility & contrast
On white
5.90
#AC2A9B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#AC2A9B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AC2A9B
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC2A9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AC2A9B | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27589E
Deuteranopia (green-blind)
#586B98
Tritanopia (blue-blind)
#B43760
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ac2a9b; /* rgb */ color: rgb(172, 42, 155); /* oklch */ color: oklch(53.1% 0.203 334.0);
Tailwind
colors: {
custom: {
50: '#c972b9',
500: '#ac2a9b',
950: '#000000',
},
}SCSS
$custom: #ac2a9b; $custom-light: #c972b9; $custom-dark: #000000;
JSON
{
"hex": "#ac2a9b",
"rgb": {
"r": 172,
"g": 42,
"b": 155
},
"hsl": {
"h": 307.846,
"s": 60.748,
"l": 41.961
},
"oklch": {
"l": 0.53087,
"c": 0.20346,
"h": 334
},
"luminance": 0.12793
}Semantic roles & 50–950 ramp
primary
#AC2A9B
secondary
#6DC479
accent
#E45944
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80