#AF2E59#AF2E59
#AF2E59 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.2% C 0.167 H 5.4°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E59 |
|---|---|
| RGB | rgb(175, 46, 89) |
| HSL | hsl(340, 58%, 43%) |
| HSV | hsv(340, 74%, 69%) |
| CMYK | cmyk(0%, 73.7%, 49.1%, 31.4%) |
| CIE-LAB | lab(40.88, 54.48, 5.93) |
| CIE-LCH | lch(40.88, 54.80, 6.21°) |
| OKLab | oklab(51.2% 0.1664 0.0157) |
| OKLCH | oklch(51.2% 0.167 5.4) |
| XYZ | xyz(20.4611, 11.7920, 10.6479) |
| Luminance | 0.1179 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.53
Purplish Red
#B0054B
ΔE00 4.03
Raspberry (survey)
#B00149
ΔE00 4.41
Deep Pink
#CB0162
ΔE00 5.06
Violet Red
#A50055
ΔE00 5.87
Light Maroon
#A24857
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E59 #2EAF84
analogous
#AF2E99 #AF2E59 #AF432E
triadic
#AF2E59 #59AF2E #2E59AF
tetradic
#AF2E59 #99AF2E #2EAF84 #432EAF
square
#AF2E59 #99AF2E #2EAF84 #432EAF
split-complementary
#AF2E59 #2EAF43 #2E99AF
monochromatic
#4E1528 #7F2140 #AF2E59 #D04B77 #DC7B9B
Accessibility & contrast
On white
6.25
#AF2E59 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#AF2E59 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E59
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E59 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E59 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D505A
Deuteranopia (green-blind)
#6F6A56
Tritanopia (blue-blind)
#BF1340
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af2e59; /* rgb */ color: rgb(175, 46, 89); /* oklch */ color: oklch(51.2% 0.167 5.4);
Tailwind
colors: {
custom: {
50: '#cd7287',
500: '#af2e59',
950: '#000000',
},
}SCSS
$custom: #af2e59; $custom-light: #cd7287; $custom-dark: #000000;
JSON
{
"hex": "#af2e59",
"rgb": {
"r": 175,
"g": 46,
"b": 89
},
"hsl": {
"h": 340,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.51204,
"c": 0.16716,
"h": 5.4
},
"luminance": 0.11789
}Semantic roles & 50–950 ramp
primary
#AF2E59
secondary
#74C5AA
accent
#E2AE46
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C