#AF2E52#AF2E52
#AF2E52 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.0% C 0.166 H 8.9°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E52 |
|---|---|
| RGB | rgb(175, 46, 82) |
| HSL | hsl(343, 58%, 43%) |
| HSV | hsv(343, 74%, 69%) |
| CMYK | cmyk(0%, 73.7%, 53.1%, 31.4%) |
| CIE-LAB | lab(40.70, 53.88, 10.09) |
| CIE-LCH | lch(40.70, 54.82, 10.60°) |
| OKLab | oklab(51.01% 0.1638 0.0258) |
| OKLCH | oklch(51.01% 0.166 8.9) |
| XYZ | xyz(20.1810, 11.6799, 9.1728) |
| Luminance | 0.1168 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.51
Purplish Red
#B0054B
ΔE00 3.67
Raspberry (survey)
#B00149
ΔE00 3.83
Light Maroon
#A24857
ΔE00 5.34
Dark Rose
#B5485D
ΔE00 5.53
Ruby
#CA0147
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E52 #2EAF8B
analogous
#AF2E92 #AF2E52 #AF4A2E
triadic
#AF2E52 #52AF2E #2E52AF
tetradic
#AF2E52 #92AF2E #2EAF8B #4A2EAF
square
#AF2E52 #92AF2E #2EAF8B #4A2EAF
split-complementary
#AF2E52 #2EAF4A #2E92AF
monochromatic
#4E1525 #7F213B #AF2E52 #D04B70 #DC7B96
Accessibility & contrast
On white
6.30
#AF2E52 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#AF2E52 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E52
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E52 | 1.00 | 6.30 | 3.34 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4F53
Deuteranopia (green-blind)
#70694F
Tritanopia (blue-blind)
#BF0E3D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2e52; /* rgb */ color: rgb(175, 46, 82); /* oklch */ color: oklch(51.0% 0.166 8.9);
Tailwind
colors: {
custom: {
50: '#cd7182',
500: '#af2e52',
950: '#000000',
},
}SCSS
$custom: #af2e52; $custom-light: #cd7182; $custom-dark: #000000;
JSON
{
"hex": "#af2e52",
"rgb": {
"r": 175,
"g": 46,
"b": 82
},
"hsl": {
"h": 343.256,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.51011,
"c": 0.1658,
"h": 8.9
},
"luminance": 0.11677
}Semantic roles & 50–950 ramp
primary
#AF2E52
secondary
#74C5AE
accent
#E2B646
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C