#AF2F55#AF2F55
#AF2F55 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.2% C 0.165 H 7.6°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2F55 |
|---|---|
| RGB | rgb(175, 47, 85) |
| HSL | hsl(342, 58%, 44%) |
| HSV | hsv(342, 73%, 69%) |
| CMYK | cmyk(0%, 73.1%, 51.4%, 31.4%) |
| CIE-LAB | lab(40.91, 53.77, 8.48) |
| CIE-LCH | lch(40.91, 54.44, 8.96°) |
| OKLab | oklab(51.19% 0.1638 0.0219) |
| OKLCH | oklch(51.19% 0.165 7.6) |
| XYZ | xyz(20.3372, 11.8056, 9.8004) |
| Luminance | 0.1180 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.23
Purplish Red
#B0054B
ΔE00 3.81
Raspberry (survey)
#B00149
ΔE00 4.07
Light Maroon
#A24857
ΔE00 5.44
Dark Rose
#B5485D
ΔE00 5.55
Deep Pink
#CB0162
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2F55 #2FAF89
analogous
#AF2F95 #AF2F55 #AF492F
triadic
#AF2F55 #55AF2F #2F55AF
tetradic
#AF2F55 #95AF2F #2FAF89 #492FAF
square
#AF2F55 #95AF2F #2FAF89 #492FAF
split-complementary
#AF2F55 #2FAF49 #2F95AF
monochromatic
#4F1526 #7F223E #AF2F55 #CF4C73 #DC7C99
Accessibility & contrast
On white
6.25
#AF2F55 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#AF2F55 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2F55
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2F55 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F55 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E5056
Deuteranopia (green-blind)
#706A52
Tritanopia (blue-blind)
#BF123F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2f55; /* rgb */ color: rgb(175, 47, 85); /* oklch */ color: oklch(51.2% 0.165 7.6);
Tailwind
colors: {
custom: {
50: '#cd7284',
500: '#af2f55',
950: '#000000',
},
}SCSS
$custom: #af2f55; $custom-light: #cd7284; $custom-dark: #000000;
JSON
{
"hex": "#af2f55",
"rgb": {
"r": 175,
"g": 47,
"b": 85
},
"hsl": {
"h": 342.188,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.51186,
"c": 0.16525,
"h": 7.6
},
"luminance": 0.11803
}Semantic roles & 50–950 ramp
primary
#AF2F55
secondary
#75C4AD
accent
#E1B347
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15090A
muted
#837B7C