#AF2F51#AF2F51
#AF2F51 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.1% C 0.165 H 9.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2F51 |
|---|---|
| RGB | rgb(175, 47, 81) |
| HSL | hsl(344, 58%, 44%) |
| HSV | hsv(344, 73%, 69%) |
| CMYK | cmyk(0%, 73.1%, 53.7%, 31.4%) |
| CIE-LAB | lab(40.81, 53.44, 10.86) |
| CIE-LCH | lch(40.81, 54.54, 11.49°) |
| OKLab | oklab(51.08% 0.1623 0.0277) |
| OKLCH | oklch(51.08% 0.165 9.7) |
| XYZ | xyz(20.1827, 11.7439, 8.9870) |
| Luminance | 0.1174 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.53
Purplish Red
#B0054B
ΔE00 3.89
Raspberry (survey)
#B00149
ΔE00 4.00
Light Maroon
#A24857
ΔE00 5.14
Dark Rose
#B5485D
ΔE00 5.33
Ruby
#CA0147
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2F51 #2FAF8D
analogous
#AF2F91 #AF2F51 #AF4D2F
triadic
#AF2F51 #51AF2F #2F51AF
tetradic
#AF2F51 #91AF2F #2FAF8D #4D2FAF
square
#AF2F51 #91AF2F #2FAF8D #4D2FAF
split-complementary
#AF2F51 #2FAF4D #2F91AF
monochromatic
#4F1524 #7F223B #AF2F51 #CF4C6F #DC7C96
Accessibility & contrast
On white
6.27
#AF2F51 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#AF2F51 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2F51
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2F51 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F51 | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F5052
Deuteranopia (green-blind)
#706A4E
Tritanopia (blue-blind)
#BF103D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2f51; /* rgb */ color: rgb(175, 47, 81); /* oklch */ color: oklch(51.1% 0.165 9.7);
Tailwind
colors: {
custom: {
50: '#cd7281',
500: '#af2f51',
950: '#000000',
},
}SCSS
$custom: #af2f51; $custom-light: #cd7281; $custom-dark: #000000;
JSON
{
"hex": "#af2f51",
"rgb": {
"r": 175,
"g": 47,
"b": 81
},
"hsl": {
"h": 344.063,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.5108,
"c": 0.16459,
"h": 9.7
},
"luminance": 0.11741
}Semantic roles & 50–950 ramp
primary
#AF2F51
secondary
#75C4AF
accent
#E1B847
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C