#AF2F59#AF2F59
#AF2F59 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.3% C 0.166 H 5.6°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2F59 |
|---|---|
| RGB | rgb(175, 47, 89) |
| HSL | hsl(340, 58%, 44%) |
| HSV | hsv(340, 73%, 69%) |
| CMYK | cmyk(0%, 73.1%, 49.1%, 31.4%) |
| CIE-LAB | lab(41.01, 54.12, 6.11) |
| CIE-LCH | lch(41.01, 54.47, 6.44°) |
| OKLab | oklab(51.3% 0.1653 0.0161) |
| OKLCH | oklch(51.3% 0.166 5.6) |
| XYZ | xyz(20.5006, 11.8710, 10.6611) |
| Luminance | 0.1187 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.36
Purplish Red
#B0054B
ΔE00 4.13
Raspberry (survey)
#B00149
ΔE00 4.49
Deep Pink
#CB0162
ΔE00 5.12
Light Maroon
#A24857
ΔE00 5.96
Dark Rose
#B5485D
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2F59 #2FAF85
analogous
#AF2F99 #AF2F59 #AF452F
triadic
#AF2F59 #59AF2F #2F59AF
tetradic
#AF2F59 #99AF2F #2FAF85 #452FAF
square
#AF2F59 #99AF2F #2FAF85 #452FAF
split-complementary
#AF2F59 #2FAF45 #2F99AF
monochromatic
#4F1528 #7F2240 #AF2F59 #CF4C77 #DC7C9C
Accessibility & contrast
On white
6.22
#AF2F59 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#AF2F59 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2F59
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2F59 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F59 | 1.00 | 6.22 | 3.37 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D515A
Deuteranopia (green-blind)
#6F6A56
Tritanopia (blue-blind)
#BF1540
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af2f59; /* rgb */ color: rgb(175, 47, 89); /* oklch */ color: oklch(51.3% 0.166 5.6);
Tailwind
colors: {
custom: {
50: '#cc7287',
500: '#af2f59',
950: '#000000',
},
}SCSS
$custom: #af2f59; $custom-light: #cc7287; $custom-dark: #000000;
JSON
{
"hex": "#af2f59",
"rgb": {
"r": 175,
"g": 47,
"b": 89
},
"hsl": {
"h": 340.313,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.51298,
"c": 0.16608,
"h": 5.6
},
"luminance": 0.11868
}Semantic roles & 50–950 ramp
primary
#AF2F59
secondary
#75C4AB
accent
#E1AE47
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14090B
muted
#837B7C