#AD2E7B#AD2E7B
#AD2E7B is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.1% C 0.179 H 347.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #AD2E7B |
|---|---|
| RGB | rgb(173, 46, 123) |
| HSL | hsl(324, 58%, 43%) |
| HSV | hsv(324, 73%, 68%) |
| CMYK | cmyk(0%, 73.4%, 28.9%, 32.2%) |
| CIE-LAB | lab(41.64, 57.54, -14.22) |
| CIE-LCH | lch(41.64, 59.27, 346.12°) |
| OKLab | oklab(52.06% 0.1752 -0.0374) |
| OKLCH | oklch(52.06% 0.179 347.9) |
| XYZ | xyz(21.7868, 12.2707, 19.9562) |
| Luminance | 0.1227 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.10
Mediumvioletred
#C71585
ΔE00 4.51
Red Violet
#9E0168
ΔE00 6.18
Deep Magenta
#A0025C
ΔE00 7.25
Dark Fuchsia
#9D0759
ΔE00 7.80
Warm Purple
#952E8F
ΔE00 8.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AD2E7B #2EAD60
analogous
#9F2EAD #AD2E7B #AD2E3B
triadic
#AD2E7B #7BAD2E #2E7BAD
tetradic
#AD2E7B #AD9F2E #2EAD60 #2E3BAD
square
#AD2E7B #AD9F2E #2EAD60 #2E3BAD
split-complementary
#AD2E7B #3BAD2E #2EAD9F
monochromatic
#4C1436 #7D2159 #AD2E7B #CF499A #DC7AB5
Accessibility & contrast
On white
6.08
#AD2E7B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#AD2E7B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AD2E7B
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AD2E7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AD2E7B | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40547D
Deuteranopia (green-blind)
#666A78
Tritanopia (blue-blind)
#B92950
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #ad2e7b; /* rgb */ color: rgb(173, 46, 123); /* oklch */ color: oklch(52.1% 0.179 347.9);
Tailwind
colors: {
custom: {
50: '#ca72a1',
500: '#ad2e7b',
950: '#000000',
},
}SCSS
$custom: #ad2e7b; $custom-light: #ca72a1; $custom-dark: #000000;
JSON
{
"hex": "#ad2e7b",
"rgb": {
"r": 173,
"g": 46,
"b": 123
},
"hsl": {
"h": 323.622,
"s": 57.991,
"l": 42.941
},
"oklch": {
"l": 0.52062,
"c": 0.17912,
"h": 347.9
},
"luminance": 0.12268
}Semantic roles & 50–950 ramp
primary
#AD2E7B
secondary
#73C493
accent
#E18347
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090F
muted
#827B7E