#AF2E55#AF2E55
#AF2E55 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.1% C 0.166 H 7.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E55 |
|---|---|
| RGB | rgb(175, 46, 85) |
| HSL | hsl(342, 58%, 43%) |
| HSV | hsv(342, 74%, 69%) |
| CMYK | cmyk(0%, 73.7%, 51.4%, 31.4%) |
| CIE-LAB | lab(40.78, 54.13, 8.30) |
| CIE-LCH | lch(40.78, 54.76, 8.72°) |
| OKLab | oklab(51.09% 0.1649 0.0215) |
| OKLCH | oklch(51.09% 0.166 7.4) |
| XYZ | xyz(20.2977, 11.7266, 9.7872) |
| Luminance | 0.1172 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.36
Purplish Red
#B0054B
ΔE00 3.67
Raspberry (survey)
#B00149
ΔE00 3.94
Deep Pink
#CB0162
ΔE00 5.54
Light Maroon
#A24857
ΔE00 5.60
Dark Rose
#B5485D
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E55 #2EAF88
analogous
#AF2E95 #AF2E55 #AF472E
triadic
#AF2E55 #55AF2E #2E55AF
tetradic
#AF2E55 #95AF2E #2EAF88 #472EAF
square
#AF2E55 #95AF2E #2EAF88 #472EAF
split-complementary
#AF2E55 #2EAF47 #2E95AF
monochromatic
#4E1526 #7F213D #AF2E55 #D04B73 #DC7B98
Accessibility & contrast
On white
6.28
#AF2E55 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#AF2E55 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E55
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E55 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E55 | 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)
#4E5056
Deuteranopia (green-blind)
#6F6A52
Tritanopia (blue-blind)
#BF103E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2e55; /* rgb */ color: rgb(175, 46, 85); /* oklch */ color: oklch(51.1% 0.166 7.4);
Tailwind
colors: {
custom: {
50: '#cd7284',
500: '#af2e55',
950: '#000000',
},
}SCSS
$custom: #af2e55; $custom-light: #cd7284; $custom-dark: #000000;
JSON
{
"hex": "#af2e55",
"rgb": {
"r": 175,
"g": 46,
"b": 85
},
"hsl": {
"h": 341.86,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.51092,
"c": 0.16632,
"h": 7.4
},
"luminance": 0.11724
}Semantic roles & 50–950 ramp
primary
#AF2E55
secondary
#74C5AC
accent
#E2B346
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080A
muted
#837B7C