#AF2D52#AF2D52
#AF2D52 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.9% C 0.167 H 8.7°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2D52 |
|---|---|
| RGB | rgb(175, 45, 82) |
| HSL | hsl(343, 59%, 43%) |
| HSV | hsv(343, 74%, 69%) |
| CMYK | cmyk(0%, 74.3%, 53.1%, 31.4%) |
| CIE-LAB | lab(40.58, 54.23, 9.91) |
| CIE-LCH | lch(40.58, 55.13, 10.36°) |
| OKLab | oklab(50.92% 0.1649 0.0254) |
| OKLCH | oklch(50.92% 0.167 8.7) |
| XYZ | xyz(20.1424, 11.6027, 9.1599) |
| Luminance | 0.1160 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.50
Light Burgundy
#A8415B
ΔE00 3.62
Raspberry (survey)
#B00149
ΔE00 3.68
Light Maroon
#A24857
ΔE00 5.49
Dark Rose
#B5485D
ΔE00 5.69
Ruby
#CA0147
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2D52 #2DAF8A
analogous
#AF2D93 #AF2D52 #AF492D
triadic
#AF2D52 #52AF2D #2D52AF
tetradic
#AF2D52 #93AF2D #2DAF8A #492DAF
square
#AF2D52 #93AF2D #2DAF8A #492DAF
split-complementary
#AF2D52 #2DAF49 #2D93AF
monochromatic
#4E1424 #7E203B #AF2D52 #D0496F #DD7A96
Accessibility & contrast
On white
6.33
#AF2D52 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#AF2D52 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2D52
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2D52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2D52 | 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)
#4E4F53
Deuteranopia (green-blind)
#70694F
Tritanopia (blue-blind)
#BF0B3C
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2d52; /* rgb */ color: rgb(175, 45, 82); /* oklch */ color: oklch(50.9% 0.167 8.7);
Tailwind
colors: {
custom: {
50: '#cd7182',
500: '#af2d52',
950: '#000000',
},
}SCSS
$custom: #af2d52; $custom-light: #cd7182; $custom-dark: #000000;
JSON
{
"hex": "#af2d52",
"rgb": {
"r": 175,
"g": 45,
"b": 82
},
"hsl": {
"h": 342.923,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.50919,
"c": 0.16684,
"h": 8.7
},
"luminance": 0.116
}Semantic roles & 50–950 ramp
primary
#AF2D52
secondary
#73C5AE
accent
#E2B646
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C