#AF2A54#AF2A54
#AF2A54 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.7% C 0.170 H 7.2°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2A54 |
|---|---|
| RGB | rgb(175, 42, 84) |
| HSL | hsl(341, 61%, 43%) |
| HSV | hsv(341, 76%, 69%) |
| CMYK | cmyk(0%, 76%, 52%, 31.4%) |
| CIE-LAB | lab(40.27, 55.40, 8.21) |
| CIE-LCH | lch(40.27, 56.01, 8.43°) |
| OKLab | oklab(50.71% 0.1689 0.0212) |
| OKLCH | oklch(50.71% 0.17 7.2) |
| XYZ | xyz(20.1092, 11.4128, 9.5298) |
| Luminance | 0.1141 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.12
Raspberry (survey)
#B00149
ΔE00 3.41
Light Burgundy
#A8415B
ΔE00 3.90
Deep Pink
#CB0162
ΔE00 5.46
Violet Red
#A50055
ΔE00 6.01
Light Maroon
#A24857
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2A54 #2AAF85
analogous
#AF2A96 #AF2A54 #AF432A
triadic
#AF2A54 #54AF2A #2A54AF
tetradic
#AF2A54 #96AF2A #2AAF85 #432AAF
square
#AF2A54 #96AF2A #2AAF85 #432AAF
split-complementary
#AF2A54 #2AAF43 #2A96AF
monochromatic
#4C1225 #7E1E3C #AF2A54 #D24471 #DE7596
Accessibility & contrast
On white
6.40
#AF2A54 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#AF2A54 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2A54
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2A54 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2A54 | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4E55
Deuteranopia (green-blind)
#6E6951
Tritanopia (blue-blind)
#BF033C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2a54; /* rgb */ color: rgb(175, 42, 84); /* oklch */ color: oklch(50.7% 0.170 7.2);
Tailwind
colors: {
custom: {
50: '#cd7083',
500: '#af2a54',
950: '#000000',
},
}SCSS
$custom: #af2a54; $custom-light: #cd7083; $custom-dark: #000000;
JSON
{
"hex": "#af2a54",
"rgb": {
"r": 175,
"g": 42,
"b": 84
},
"hsl": {
"h": 341.053,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.50706,
"c": 0.17025,
"h": 7.2
},
"luminance": 0.1141
}Semantic roles & 50–950 ramp
primary
#AF2A54
secondary
#6FC6AA
accent
#E4B243
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080A
muted
#837B7C