#AF2E54#AF2E54
#AF2E54 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.1% C 0.166 H 7.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E54 |
|---|---|
| RGB | rgb(175, 46, 84) |
| HSL | hsl(342, 58%, 43%) |
| HSV | hsv(342, 74%, 69%) |
| CMYK | cmyk(0%, 73.7%, 52%, 31.4%) |
| CIE-LAB | lab(40.75, 54.05, 8.90) |
| CIE-LCH | lch(40.75, 54.77, 9.35°) |
| OKLab | oklab(51.07% 0.1646 0.0229) |
| OKLCH | oklch(51.07% 0.166 7.9) |
| XYZ | xyz(20.2582, 11.7108, 9.5794) |
| Luminance | 0.1171 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.38
Purplish Red
#B0054B
ΔE00 3.64
Raspberry (survey)
#B00149
ΔE00 3.88
Light Maroon
#A24857
ΔE00 5.50
Dark Rose
#B5485D
ΔE00 5.65
Deep Pink
#CB0162
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E54 #2EAF89
analogous
#AF2E94 #AF2E54 #AF492E
triadic
#AF2E54 #54AF2E #2E54AF
tetradic
#AF2E54 #94AF2E #2EAF89 #492EAF
square
#AF2E54 #94AF2E #2EAF89 #492EAF
split-complementary
#AF2E54 #2EAF49 #2E94AF
monochromatic
#4E1525 #7F213D #AF2E54 #D04B72 #DC7B98
Accessibility & contrast
On white
6.28
#AF2E54 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#AF2E54 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E54
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E54 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E54 | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E5055
Deuteranopia (green-blind)
#706951
Tritanopia (blue-blind)
#BF0F3E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2e54; /* rgb */ color: rgb(175, 46, 84); /* oklch */ color: oklch(51.1% 0.166 7.9);
Tailwind
colors: {
custom: {
50: '#cd7183',
500: '#af2e54',
950: '#000000',
},
}SCSS
$custom: #af2e54; $custom-light: #cd7183; $custom-dark: #000000;
JSON
{
"hex": "#af2e54",
"rgb": {
"r": 175,
"g": 46,
"b": 84
},
"hsl": {
"h": 342.326,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.51065,
"c": 0.16614,
"h": 7.9
},
"luminance": 0.11708
}Semantic roles & 50–950 ramp
primary
#AF2E54
secondary
#74C5AD
accent
#E2B446
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080A
muted
#837B7C