#AD1F4D#AD1F4D
#AD1F4D is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.177 H 8.4°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #AD1F4D |
|---|---|
| RGB | rgb(173, 31, 77) |
| HSL | hsl(341, 70%, 40%) |
| HSV | hsv(341, 82%, 68%) |
| CMYK | cmyk(0%, 82.1%, 55.5%, 32.2%) |
| CIE-LAB | lab(38.56, 57.53, 10.21) |
| CIE-LCH | lch(38.56, 58.43, 10.06°) |
| OKLab | oklab(49.32% 0.1751 0.026) |
| OKLCH | oklch(49.32% 0.177 8.4) |
| XYZ | xyz(19.0650, 10.4028, 8.0238) |
| Luminance | 0.1040 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 1.64
Raspberry (survey)
#B00149
ΔE00 1.79
Cranberry
#9E003A
ΔE00 5.03
Rouge
#AB1239
ΔE00 5.30
Light Burgundy
#A8415B
ΔE00 5.37
Berry
#990F4B
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AD1F4D #1FAD7F
analogous
#AD1F94 #AD1F4D #AD381F
triadic
#AD1F4D #4DAD1F #1F4DAD
tetradic
#AD1F4D #94AD1F #1FAD7F #381FAD
square
#AD1F4D #94AD1F #1FAD7F #381FAD
split-complementary
#AD1F4D #1FAD38 #1F94AD
monochromatic
#450C1F #791636 #AD1F4D #DA2F67 #E3638D
Accessibility & contrast
On white
6.82
#AD1F4D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#AD1F4D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AD1F4D
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AD1F4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AD1F4D | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#47494E
Deuteranopia (green-blind)
#6B654A
Tritanopia (blue-blind)
#BD0034
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ad1f4d; /* rgb */ color: rgb(173, 31, 77); /* oklch */ color: oklch(49.3% 0.177 8.4);
Tailwind
colors: {
custom: {
50: '#cc6b7e',
500: '#ad1f4d',
950: '#000000',
},
}SCSS
$custom: #ad1f4d; $custom-light: #cc6b7e; $custom-dark: #000000;
JSON
{
"hex": "#ad1f4d",
"rgb": {
"r": 173,
"g": 31,
"b": 77
},
"hsl": {
"h": 340.563,
"s": 69.608,
"l": 40
},
"oklch": {
"l": 0.49318,
"c": 0.17702,
"h": 8.4
},
"luminance": 0.104
}Semantic roles & 50–950 ramp
primary
#AD1F4D
secondary
#60C8A6
accent
#ECB33B
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#150809
muted
#837A7B