#AF2B54#AF2B54
#AF2B54 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.8% C 0.169 H 7.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2B54 |
|---|---|
| RGB | rgb(175, 43, 84) |
| HSL | hsl(341, 61%, 43%) |
| HSV | hsv(341, 75%, 69%) |
| CMYK | cmyk(0%, 75.4%, 52%, 31.4%) |
| CIE-LAB | lab(40.38, 55.07, 8.38) |
| CIE-LCH | lch(40.38, 55.71, 8.65°) |
| OKLab | oklab(50.79% 0.1679 0.0217) |
| OKLCH | oklch(50.79% 0.169 7.3) |
| XYZ | xyz(20.1451, 11.4846, 9.5417) |
| Luminance | 0.1148 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.24
Raspberry (survey)
#B00149
ΔE00 3.52
Light Burgundy
#A8415B
ΔE00 3.77
Deep Pink
#CB0162
ΔE00 5.51
Light Maroon
#A24857
ΔE00 5.96
Dark Rose
#B5485D
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2B54 #2BAF86
analogous
#AF2B96 #AF2B54 #AF442B
triadic
#AF2B54 #54AF2B #2B54AF
tetradic
#AF2B54 #96AF2B #2BAF86 #442BAF
square
#AF2B54 #96AF2B #2BAF86 #442BAF
split-complementary
#AF2B54 #2BAF44 #2B96AF
monochromatic
#4D1325 #7E1F3C #AF2B54 #D14671 #DE7797
Accessibility & contrast
On white
6.37
#AF2B54 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#AF2B54 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2B54
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2B54 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2B54 | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4E55
Deuteranopia (green-blind)
#6F6951
Tritanopia (blue-blind)
#BF063C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2b54; /* rgb */ color: rgb(175, 43, 84); /* oklch */ color: oklch(50.8% 0.169 7.3);
Tailwind
colors: {
custom: {
50: '#cd7083',
500: '#af2b54',
950: '#000000',
},
}SCSS
$custom: #af2b54; $custom-light: #cd7083; $custom-dark: #000000;
JSON
{
"hex": "#af2b54",
"rgb": {
"r": 175,
"g": 43,
"b": 84
},
"hsl": {
"h": 341.364,
"s": 60.55,
"l": 42.745
},
"oklch": {
"l": 0.50793,
"c": 0.16924,
"h": 7.3
},
"luminance": 0.11482
}Semantic roles & 50–950 ramp
primary
#AF2B54
secondary
#70C5AB
accent
#E4B244
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080A
muted
#837B7C