#AF2F5E#AF2F5E
#AF2F5E is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.4% C 0.167 H 3.0°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2F5E |
|---|---|
| RGB | rgb(175, 47, 94) |
| HSL | hsl(338, 58%, 44%) |
| HSV | hsv(338, 73%, 69%) |
| CMYK | cmyk(0%, 73.1%, 46.3%, 31.4%) |
| CIE-LAB | lab(41.15, 54.58, 3.17) |
| CIE-LCH | lch(41.15, 54.67, 3.32°) |
| OKLab | oklab(51.44% 0.1671 0.0087) |
| OKLCH | oklch(51.44% 0.167 3) |
| XYZ | xyz(20.7177, 11.9579, 11.8046) |
| Luminance | 0.1196 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 4.04
Deep Pink
#CB0162
ΔE00 4.87
Purplish Red
#B0054B
ΔE00 4.92
Raspberry (survey)
#B00149
ΔE00 5.36
Violet Red
#A50055
ΔE00 5.54
Berry
#990F4B
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2F5E #2FAF80
analogous
#AF2F9E #AF2F5E #AF402F
triadic
#AF2F5E #5EAF2F #2F5EAF
tetradic
#AF2F5E #9EAF2F #2FAF80 #402FAF
square
#AF2F5E #9EAF2F #2FAF80 #402FAF
split-complementary
#AF2F5E #2FAF40 #2F9EAF
monochromatic
#4F152A #7F2244 #AF2F5E #CF4C7C #DC7CA0
Accessibility & contrast
On white
6.19
#AF2F5E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#AF2F5E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2F5E
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2F5E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F5E | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C515F
Deuteranopia (green-blind)
#6E6A5B
Tritanopia (blue-blind)
#BE1843
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af2f5e; /* rgb */ color: rgb(175, 47, 94); /* oklch */ color: oklch(51.4% 0.167 3.0);
Tailwind
colors: {
custom: {
50: '#cc728b',
500: '#af2f5e',
950: '#000000',
},
}SCSS
$custom: #af2f5e; $custom-light: #cc728b; $custom-dark: #000000;
JSON
{
"hex": "#af2f5e",
"rgb": {
"r": 175,
"g": 47,
"b": 94
},
"hsl": {
"h": 337.969,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.51445,
"c": 0.16735,
"h": 3
},
"luminance": 0.11955
}Semantic roles & 50–950 ramp
primary
#AF2F5E
secondary
#75C4A7
accent
#E1A847
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D