#AF2E56#AF2E56
#AF2E56 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.1% C 0.167 H 6.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E56 |
|---|---|
| RGB | rgb(175, 46, 86) |
| HSL | hsl(341, 58%, 43%) |
| HSV | hsv(341, 74%, 69%) |
| CMYK | cmyk(0%, 73.7%, 50.9%, 31.4%) |
| CIE-LAB | lab(40.80, 54.21, 7.71) |
| CIE-LCH | lch(40.80, 54.76, 8.09°) |
| OKLab | oklab(51.12% 0.1653 0.02) |
| OKLCH | oklch(51.12% 0.167 6.9) |
| XYZ | xyz(20.3377, 11.7426, 9.9979) |
| Luminance | 0.1174 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.36
Purplish Red
#B0054B
ΔE00 3.73
Raspberry (survey)
#B00149
ΔE00 4.03
Deep Pink
#CB0162
ΔE00 5.40
Light Maroon
#A24857
ΔE00 5.71
Dark Rose
#B5485D
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E56 #2EAF87
analogous
#AF2E96 #AF2E56 #AF462E
triadic
#AF2E56 #56AF2E #2E56AF
tetradic
#AF2E56 #96AF2E #2EAF87 #462EAF
square
#AF2E56 #96AF2E #2EAF87 #462EAF
split-complementary
#AF2E56 #2EAF46 #2E96AF
monochromatic
#4E1526 #7F213E #AF2E56 #D04B74 #DC7B99
Accessibility & contrast
On white
6.27
#AF2E56 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#AF2E56 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E56
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E56 | 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)
#4D5057
Deuteranopia (green-blind)
#6F6A53
Tritanopia (blue-blind)
#BF113F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2e56; /* rgb */ color: rgb(175, 46, 86); /* oklch */ color: oklch(51.1% 0.167 6.9);
Tailwind
colors: {
custom: {
50: '#cd7285',
500: '#af2e56',
950: '#000000',
},
}SCSS
$custom: #af2e56; $custom-light: #cd7285; $custom-dark: #000000;
JSON
{
"hex": "#af2e56",
"rgb": {
"r": 175,
"g": 46,
"b": 86
},
"hsl": {
"h": 341.395,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.51119,
"c": 0.16652,
"h": 6.9
},
"luminance": 0.1174
}Semantic roles & 50–950 ramp
primary
#AF2E56
secondary
#74C5AC
accent
#E2B146
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C