#AF2F5D#AF2F5D
#AF2F5D is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.167 H 3.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2F5D |
|---|---|
| RGB | rgb(175, 47, 93) |
| HSL | hsl(338, 58%, 44%) |
| HSV | hsv(338, 73%, 69%) |
| CMYK | cmyk(0%, 73.1%, 46.9%, 31.4%) |
| CIE-LAB | lab(41.12, 54.49, 3.75) |
| CIE-LCH | lch(41.12, 54.61, 3.94°) |
| OKLab | oklab(51.42% 0.1668 0.0102) |
| OKLCH | oklch(51.42% 0.167 3.5) |
| XYZ | xyz(20.6732, 11.9400, 11.5698) |
| Luminance | 0.1194 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.87
Purplish Red
#B0054B
ΔE00 4.73
Deep Pink
#CB0162
ΔE00 4.88
Raspberry (survey)
#B00149
ΔE00 5.16
Violet Red
#A50055
ΔE00 5.61
Dark Rose
#B5485D
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2F5D #2FAF81
analogous
#AF2F9D #AF2F5D #AF412F
triadic
#AF2F5D #5DAF2F #2F5DAF
tetradic
#AF2F5D #9DAF2F #2FAF81 #412FAF
square
#AF2F5D #9DAF2F #2FAF81 #412FAF
split-complementary
#AF2F5D #2FAF41 #2F9DAF
monochromatic
#4F152A #7F2243 #AF2F5D #CF4C7B #DC7C9F
Accessibility & contrast
On white
6.20
#AF2F5D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#AF2F5D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2F5D
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2F5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F5D | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C515E
Deuteranopia (green-blind)
#6E6A5A
Tritanopia (blue-blind)
#BE1842
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af2f5d; /* rgb */ color: rgb(175, 47, 93); /* oklch */ color: oklch(51.4% 0.167 3.5);
Tailwind
colors: {
custom: {
50: '#cc728a',
500: '#af2f5d',
950: '#000000',
},
}SCSS
$custom: #af2f5d; $custom-light: #cc728a; $custom-dark: #000000;
JSON
{
"hex": "#af2f5d",
"rgb": {
"r": 175,
"g": 47,
"b": 93
},
"hsl": {
"h": 338.438,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.51415,
"c": 0.16707,
"h": 3.5
},
"luminance": 0.11937
}Semantic roles & 50–950 ramp
primary
#AF2F5D
secondary
#75C4A8
accent
#E1AA47
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090B
muted
#837B7C