#AF2F5C#AF2F5C
#AF2F5C is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.167 H 4.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2F5C |
|---|---|
| RGB | rgb(175, 47, 92) |
| HSL | hsl(339, 58%, 44%) |
| HSV | hsv(339, 73%, 69%) |
| CMYK | cmyk(0%, 73.1%, 47.4%, 31.4%) |
| CIE-LAB | lab(41.09, 54.39, 4.34) |
| CIE-LCH | lch(41.09, 54.57, 4.56°) |
| OKLab | oklab(51.39% 0.1664 0.0117) |
| OKLCH | oklch(51.39% 0.167 4) |
| XYZ | xyz(20.6292, 11.9224, 11.3381) |
| Luminance | 0.1192 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.72
Purplish Red
#B0054B
ΔE00 4.56
Deep Pink
#CB0162
ΔE00 4.92
Raspberry (survey)
#B00149
ΔE00 4.98
Violet Red
#A50055
ΔE00 5.70
Light Maroon
#A24857
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2F5C #2FAF82
analogous
#AF2F9C #AF2F5C #AF422F
triadic
#AF2F5C #5CAF2F #2F5CAF
tetradic
#AF2F5C #9CAF2F #2FAF82 #422FAF
square
#AF2F5C #9CAF2F #2FAF82 #422FAF
split-complementary
#AF2F5C #2FAF42 #2F9CAF
monochromatic
#4F1529 #7F2243 #AF2F5C #CF4C7A #DC7C9E
Accessibility & contrast
On white
6.21
#AF2F5C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#AF2F5C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2F5C
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2F5C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F5C | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D515D
Deuteranopia (green-blind)
#6F6A59
Tritanopia (blue-blind)
#BE1742
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af2f5c; /* rgb */ color: rgb(175, 47, 92); /* oklch */ color: oklch(51.4% 0.167 4.0);
Tailwind
colors: {
custom: {
50: '#cc7289',
500: '#af2f5c',
950: '#000000',
},
}SCSS
$custom: #af2f5c; $custom-light: #cc7289; $custom-dark: #000000;
JSON
{
"hex": "#af2f5c",
"rgb": {
"r": 175,
"g": 47,
"b": 92
},
"hsl": {
"h": 338.906,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.51385,
"c": 0.16681,
"h": 4
},
"luminance": 0.1192
}Semantic roles & 50–950 ramp
primary
#AF2F5C
secondary
#75C4A9
accent
#E1AB47
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090B
muted
#837B7C