#AF2957#AF2957
#AF2957 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.7% C 0.172 H 5.5°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2957 |
|---|---|
| RGB | rgb(175, 41, 87) |
| HSL | hsl(339, 62%, 42%) |
| HSV | hsv(339, 77%, 69%) |
| CMYK | cmyk(0%, 76.6%, 50.3%, 31.4%) |
| CIE-LAB | lab(40.23, 55.98, 6.26) |
| CIE-LCH | lch(40.23, 56.33, 6.39°) |
| OKLab | oklab(50.71% 0.1711 0.0165) |
| OKLCH | oklch(50.71% 0.172 5.5) |
| XYZ | xyz(20.1942, 11.3907, 10.1502) |
| Luminance | 0.1139 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.34
Raspberry (survey)
#B00149
ΔE00 3.74
Light Burgundy
#A8415B
ΔE00 4.14
Deep Pink
#CB0162
ΔE00 5.06
Violet Red
#A50055
ΔE00 5.34
Berry
#990F4B
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2957 #29AF81
analogous
#AF299A #AF2957 #AF3E29
triadic
#AF2957 #57AF29 #2957AF
tetradic
#AF2957 #9AAF29 #29AF81 #3E29AF
square
#AF2957 #9AAF29 #29AF81 #3E29AF
split-complementary
#AF2957 #29AF3E #299AAF
monochromatic
#4C1226 #7D1D3E #AF2957 #D34274 #DE7499
Accessibility & contrast
On white
6.41
#AF2957 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#AF2957 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2957
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2957 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2957 | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4E58
Deuteranopia (green-blind)
#6E6854
Tritanopia (blue-blind)
#BF043D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2957; /* rgb */ color: rgb(175, 41, 87); /* oklch */ color: oklch(50.7% 0.172 5.5);
Tailwind
colors: {
custom: {
50: '#cd6f86',
500: '#af2957',
950: '#000000',
},
}SCSS
$custom: #af2957; $custom-light: #cd6f86; $custom-dark: #000000;
JSON
{
"hex": "#af2957",
"rgb": {
"r": 175,
"g": 41,
"b": 87
},
"hsl": {
"h": 339.403,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.50705,
"c": 0.17188,
"h": 5.5
},
"luminance": 0.11388
}Semantic roles & 50–950 ramp
primary
#AF2957
secondary
#6EC6A8
accent
#E5AD43
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C