#AF2E57#AF2E57
#AF2E57 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.1% C 0.167 H 6.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E57 |
|---|---|
| RGB | rgb(175, 46, 87) |
| HSL | hsl(341, 58%, 43%) |
| HSV | hsv(341, 74%, 69%) |
| CMYK | cmyk(0%, 73.7%, 50.3%, 31.4%) |
| CIE-LAB | lab(40.83, 54.30, 7.12) |
| CIE-LCH | lch(40.83, 54.76, 7.47°) |
| OKLab | oklab(51.15% 0.1657 0.0186) |
| OKLCH | oklch(51.15% 0.167 6.4) |
| XYZ | xyz(20.3782, 11.7588, 10.2116) |
| Luminance | 0.1176 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.39
Purplish Red
#B0054B
ΔE00 3.81
Raspberry (survey)
#B00149
ΔE00 4.14
Deep Pink
#CB0162
ΔE00 5.27
Light Maroon
#A24857
ΔE00 5.84
Dark Rose
#B5485D
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E57 #2EAF86
analogous
#AF2E97 #AF2E57 #AF452E
triadic
#AF2E57 #57AF2E #2E57AF
tetradic
#AF2E57 #97AF2E #2EAF86 #452EAF
square
#AF2E57 #97AF2E #2EAF86 #452EAF
split-complementary
#AF2E57 #2EAF45 #2E97AF
monochromatic
#4E1527 #7F213F #AF2E57 #D04B75 #DC7B9A
Accessibility & contrast
On white
6.27
#AF2E57 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#AF2E57 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E57
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E57 | 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)
#4D5058
Deuteranopia (green-blind)
#6F6A54
Tritanopia (blue-blind)
#BF123F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2e57; /* rgb */ color: rgb(175, 46, 87); /* oklch */ color: oklch(51.1% 0.167 6.4);
Tailwind
colors: {
custom: {
50: '#cd7286',
500: '#af2e57',
950: '#000000',
},
}SCSS
$custom: #af2e57; $custom-light: #cd7286; $custom-dark: #000000;
JSON
{
"hex": "#af2e57",
"rgb": {
"r": 175,
"g": 46,
"b": 87
},
"hsl": {
"h": 340.93,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.51147,
"c": 0.16672,
"h": 6.4
},
"luminance": 0.11756
}Semantic roles & 50–950 ramp
primary
#AF2E57
secondary
#74C5AB
accent
#E2B046
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C