#AF2254#AF2254
#AF2254 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.1% C 0.178 H 5.9°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2254 |
|---|---|
| RGB | rgb(175, 34, 84) |
| HSL | hsl(339, 67%, 41%) |
| HSV | hsv(339, 81%, 69%) |
| CMYK | cmyk(0%, 80.6%, 52%, 31.4%) |
| CIE-LAB | lab(39.41, 57.82, 7.01) |
| CIE-LCH | lch(39.41, 58.24, 6.91°) |
| OKLab | oklab(50.08% 0.1767 0.0183) |
| OKLCH | oklch(50.08% 0.178 5.9) |
| XYZ | xyz(19.8533, 10.9009, 9.4445) |
| Luminance | 0.1090 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 2.43
Raspberry (survey)
#B00149
ΔE00 2.85
Violet Red
#A50055
ΔE00 4.86
Light Burgundy
#A8415B
ΔE00 4.91
Deep Pink
#CB0162
ΔE00 5.25
Berry
#990F4B
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2254 #22AF7D
analogous
#AF229A #AF2254 #AF3622
triadic
#AF2254 #54AF22 #2254AF
tetradic
#AF2254 #9AAF22 #22AF7D #3622AF
square
#AF2254 #9AAF22 #22AF7D #3622AF
split-complementary
#AF2254 #22AF36 #229AAF
monochromatic
#490E23 #7C183B #AF2254 #D83670 #E26994
Accessibility & contrast
On white
6.60
#AF2254 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#AF2254 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2254
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2254 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2254 | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484B55
Deuteranopia (green-blind)
#6C6751
Tritanopia (blue-blind)
#BF0038
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af2254; /* rgb */ color: rgb(175, 34, 84); /* oklch */ color: oklch(50.1% 0.178 5.9);
Tailwind
colors: {
custom: {
50: '#cd6d83',
500: '#af2254',
950: '#000000',
},
}SCSS
$custom: #af2254; $custom-light: #cd6d83; $custom-dark: #000000;
JSON
{
"hex": "#af2254",
"rgb": {
"r": 175,
"g": 34,
"b": 84
},
"hsl": {
"h": 338.723,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.50077,
"c": 0.17764,
"h": 5.9
},
"luminance": 0.10898
}Semantic roles & 50–950 ramp
primary
#AF2254
secondary
#65C8A5
accent
#EAAD3D
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080A
muted
#837B7C