#AF2D51#AF2D51
#AF2D51 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.9% C 0.167 H 9.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2D51 |
|---|---|
| RGB | rgb(175, 45, 81) |
| HSL | hsl(343, 59%, 43%) |
| HSV | hsv(343, 74%, 69%) |
| CMYK | cmyk(0%, 74.3%, 53.7%, 31.4%) |
| CIE-LAB | lab(40.55, 54.15, 10.51) |
| CIE-LCH | lch(40.55, 55.16, 10.98°) |
| OKLab | oklab(50.89% 0.1645 0.0268) |
| OKLCH | oklch(50.89% 0.167 9.2) |
| XYZ | xyz(20.1046, 11.5876, 8.9610) |
| Luminance | 0.1158 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.55
Raspberry (survey)
#B00149
ΔE00 3.68
Light Burgundy
#A8415B
ΔE00 3.70
Light Maroon
#A24857
ΔE00 5.43
Dark Rose
#B5485D
ΔE00 5.65
Ruby
#CA0147
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2D51 #2DAF8B
analogous
#AF2D92 #AF2D51 #AF4A2D
triadic
#AF2D51 #51AF2D #2D51AF
tetradic
#AF2D51 #92AF2D #2DAF8B #4A2DAF
square
#AF2D51 #92AF2D #2DAF8B #4A2DAF
split-complementary
#AF2D51 #2DAF4A #2D92AF
monochromatic
#4E1424 #7E203A #AF2D51 #D0496E #DD7A95
Accessibility & contrast
On white
6.33
#AF2D51 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#AF2D51 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2D51
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2D51 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2D51 | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4F52
Deuteranopia (green-blind)
#70694E
Tritanopia (blue-blind)
#BF0A3C
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2d51; /* rgb */ color: rgb(175, 45, 81); /* oklch */ color: oklch(50.9% 0.167 9.2);
Tailwind
colors: {
custom: {
50: '#cd7181',
500: '#af2d51',
950: '#000000',
},
}SCSS
$custom: #af2d51; $custom-light: #cd7181; $custom-dark: #000000;
JSON
{
"hex": "#af2d51",
"rgb": {
"r": 175,
"g": 45,
"b": 81
},
"hsl": {
"h": 343.385,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.50893,
"c": 0.16668,
"h": 9.2
},
"luminance": 0.11585
}Semantic roles & 50–950 ramp
primary
#AF2D51
secondary
#73C5AE
accent
#E2B746
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C