#AF2F5A#AF2F5A
#AF2F5A is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.3% C 0.166 H 5.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2F5A |
|---|---|
| RGB | rgb(175, 47, 90) |
| HSL | hsl(340, 58%, 44%) |
| HSV | hsv(340, 73%, 69%) |
| CMYK | cmyk(0%, 73.1%, 48.6%, 31.4%) |
| CIE-LAB | lab(41.04, 54.21, 5.52) |
| CIE-LCH | lch(41.04, 54.49, 5.82°) |
| OKLab | oklab(51.33% 0.1657 0.0146) |
| OKLCH | oklch(51.33% 0.166 5.1) |
| XYZ | xyz(20.5429, 11.8879, 10.8837) |
| Luminance | 0.1188 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.46
Purplish Red
#B0054B
ΔE00 4.26
Raspberry (survey)
#B00149
ΔE00 4.64
Deep Pink
#CB0162
ΔE00 5.03
Violet Red
#A50055
ΔE00 5.92
Light Maroon
#A24857
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2F5A #2FAF84
analogous
#AF2F9A #AF2F5A #AF442F
triadic
#AF2F5A #5AAF2F #2F5AAF
tetradic
#AF2F5A #9AAF2F #2FAF84 #442FAF
square
#AF2F5A #9AAF2F #2FAF84 #442FAF
split-complementary
#AF2F5A #2FAF44 #2F9AAF
monochromatic
#4F1528 #7F2241 #AF2F5A #CF4C78 #DC7C9D
Accessibility & contrast
On white
6.22
#AF2F5A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#AF2F5A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2F5A
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2F5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F5A | 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)
#4D515B
Deuteranopia (green-blind)
#6F6A57
Tritanopia (blue-blind)
#BE1641
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af2f5a; /* rgb */ color: rgb(175, 47, 90); /* oklch */ color: oklch(51.3% 0.166 5.1);
Tailwind
colors: {
custom: {
50: '#cc7288',
500: '#af2f5a',
950: '#000000',
},
}SCSS
$custom: #af2f5a; $custom-light: #cc7288; $custom-dark: #000000;
JSON
{
"hex": "#af2f5a",
"rgb": {
"r": 175,
"g": 47,
"b": 90
},
"hsl": {
"h": 339.844,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.51326,
"c": 0.16632,
"h": 5.1
},
"luminance": 0.11885
}Semantic roles & 50–950 ramp
primary
#AF2F5A
secondary
#75C4AA
accent
#E1AD47
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14090B
muted
#837B7C