#AF2C51#AF2C51
#AF2C51 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.8% C 0.168 H 9.1°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2C51 |
|---|---|
| RGB | rgb(175, 44, 81) |
| HSL | hsl(343, 60%, 43%) |
| HSV | hsv(343, 75%, 69%) |
| CMYK | cmyk(0%, 74.9%, 53.7%, 31.4%) |
| CIE-LAB | lab(40.43, 54.49, 10.34) |
| CIE-LCH | lch(40.43, 55.47, 10.74°) |
| OKLab | oklab(50.8% 0.1656 0.0264) |
| OKLCH | oklch(50.8% 0.168 9.1) |
| XYZ | xyz(20.0669, 11.5122, 8.9484) |
| Luminance | 0.1151 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.38
Raspberry (survey)
#B00149
ΔE00 3.53
Light Burgundy
#A8415B
ΔE00 3.80
Light Maroon
#A24857
ΔE00 5.58
Dark Rose
#B5485D
ΔE00 5.80
Ruby
#CA0147
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2C51 #2CAF8A
analogous
#AF2C93 #AF2C51 #AF482C
triadic
#AF2C51 #51AF2C #2C51AF
tetradic
#AF2C51 #93AF2C #2CAF8A #482CAF
square
#AF2C51 #93AF2C #2CAF8A #482CAF
split-complementary
#AF2C51 #2CAF48 #2C93AF
monochromatic
#4D1324 #7E203A #AF2C51 #D1476E #DD7895
Accessibility & contrast
On white
6.36
#AF2C51 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#AF2C51 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2C51
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2C51 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2C51 | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4E52
Deuteranopia (green-blind)
#6F694E
Tritanopia (blue-blind)
#BF073B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2c51; /* rgb */ color: rgb(175, 44, 81); /* oklch */ color: oklch(50.8% 0.168 9.1);
Tailwind
colors: {
custom: {
50: '#cd7181',
500: '#af2c51',
950: '#000000',
},
}SCSS
$custom: #af2c51; $custom-light: #cd7181; $custom-dark: #000000;
JSON
{
"hex": "#af2c51",
"rgb": {
"r": 175,
"g": 44,
"b": 81
},
"hsl": {
"h": 343.053,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.50802,
"c": 0.16771,
"h": 9.1
},
"luminance": 0.11509
}Semantic roles & 50–950 ramp
primary
#AF2C51
secondary
#72C5AE
accent
#E3B645
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C