#AD1F58#AD1F58
#AD1F58 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.179 H 3.1°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #AD1F58 |
|---|---|
| RGB | rgb(173, 31, 88) |
| HSL | hsl(336, 70%, 40%) |
| HSV | hsv(336, 82%, 68%) |
| CMYK | cmyk(0%, 82.1%, 49.1%, 32.2%) |
| CIE-LAB | lab(38.85, 58.41, 3.60) |
| CIE-LCH | lch(38.85, 58.52, 3.53°) |
| OKLab | oklab(49.63% 0.1792 0.0098) |
| OKLCH | oklch(49.63% 0.179 3.1) |
| XYZ | xyz(19.4867, 10.5715, 10.2450) |
| Luminance | 0.1057 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.37
Violet Red
#A50055
ΔE00 3.48
Raspberry (survey)
#B00149
ΔE00 3.85
Berry
#990F4B
ΔE00 4.78
Deep Pink
#CB0162
ΔE00 5.38
Purple Red
#990147
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AD1F58 #1FAD74
analogous
#AD1F9F #AD1F58 #AD2D1F
triadic
#AD1F58 #58AD1F #1F58AD
tetradic
#AD1F58 #9FAD1F #1FAD74 #2D1FAD
square
#AD1F58 #9FAD1F #1FAD74 #2D1FAD
split-complementary
#AD1F58 #1FAD2D #1F9FAD
monochromatic
#450C23 #79163E #AD1F58 #DA2F74 #E36397
Accessibility & contrast
On white
6.74
#AD1F58 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#AD1F58 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AD1F58
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AD1F58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AD1F58 | 1.00 | 6.74 | 3.11 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444A59
Deuteranopia (green-blind)
#6A6555
Tritanopia (blue-blind)
#BD0039
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ad1f58; /* rgb */ color: rgb(173, 31, 88); /* oklch */ color: oklch(49.6% 0.179 3.1);
Tailwind
colors: {
custom: {
50: '#cc6b86',
500: '#ad1f58',
950: '#000000',
},
}SCSS
$custom: #ad1f58; $custom-light: #cc6b86; $custom-dark: #000000;
JSON
{
"hex": "#ad1f58",
"rgb": {
"r": 173,
"g": 31,
"b": 88
},
"hsl": {
"h": 335.915,
"s": 69.608,
"l": 40
},
"oklch": {
"l": 0.49629,
"c": 0.17946,
"h": 3.1
},
"luminance": 0.10569
}Semantic roles & 50–950 ramp
primary
#AD1F58
secondary
#60C89E
accent
#ECA53B
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14080B
muted
#837A7C