#AF2E5F#AF2E5F
#AF2E5F is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.169 H 2.3°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E5F |
|---|---|
| RGB | rgb(175, 46, 95) |
| HSL | hsl(337, 58%, 43%) |
| HSV | hsv(337, 74%, 69%) |
| CMYK | cmyk(0%, 73.7%, 45.7%, 31.4%) |
| CIE-LAB | lab(41.05, 55.03, 2.40) |
| CIE-LCH | lch(41.05, 55.08, 2.50°) |
| OKLab | oklab(51.38% 0.1686 0.0068) |
| OKLCH | oklch(51.38% 0.169 2.3) |
| XYZ | xyz(20.7234, 11.8969, 12.0293) |
| Luminance | 0.1189 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.38
Deep Pink
#CB0162
ΔE00 4.86
Purplish Red
#B0054B
ΔE00 5.06
Violet Red
#A50055
ΔE00 5.33
Raspberry (survey)
#B00149
ΔE00 5.52
Berry
#990F4B
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E5F #2EAF7E
analogous
#AF2E9F #AF2E5F #AF3D2E
triadic
#AF2E5F #5FAF2E #2E5FAF
tetradic
#AF2E5F #9FAF2E #2EAF7E #3D2EAF
square
#AF2E5F #9FAF2E #2EAF7E #3D2EAF
split-complementary
#AF2E5F #2EAF3D #2E9FAF
monochromatic
#4E152A #7F2145 #AF2E5F #D04B7D #DC7BA0
Accessibility & contrast
On white
6.22
#AF2E5F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#AF2E5F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E5F
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E5F | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B5160
Deuteranopia (green-blind)
#6E6A5C
Tritanopia (blue-blind)
#BE1743
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af2e5f; /* rgb */ color: rgb(175, 46, 95); /* oklch */ color: oklch(51.4% 0.169 2.3);
Tailwind
colors: {
custom: {
50: '#cc728c',
500: '#af2e5f',
950: '#000000',
},
}SCSS
$custom: #af2e5f; $custom-light: #cc728c; $custom-dark: #000000;
JSON
{
"hex": "#af2e5f",
"rgb": {
"r": 175,
"g": 46,
"b": 95
},
"hsl": {
"h": 337.209,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.51383,
"c": 0.16874,
"h": 2.3
},
"luminance": 0.11894
}Semantic roles & 50–950 ramp
primary
#AF2E5F
secondary
#74C5A6
accent
#E2A746
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D