#AF2C50#AF2C50
#AF2C50 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.8% C 0.168 H 9.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2C50 |
|---|---|
| RGB | rgb(175, 44, 80) |
| HSL | hsl(344, 60%, 43%) |
| HSV | hsv(344, 75%, 69%) |
| CMYK | cmyk(0%, 74.9%, 54.3%, 31.4%) |
| CIE-LAB | lab(40.41, 54.41, 10.94) |
| CIE-LCH | lch(40.41, 55.50, 11.36°) |
| OKLab | oklab(50.78% 0.1652 0.0278) |
| OKLCH | oklch(50.78% 0.168 9.6) |
| XYZ | xyz(20.0297, 11.4973, 8.7524) |
| Luminance | 0.1149 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.45
Raspberry (survey)
#B00149
ΔE00 3.55
Light Burgundy
#A8415B
ΔE00 3.90
Light Maroon
#A24857
ΔE00 5.53
Rouge
#AB1239
ΔE00 5.59
Ruby
#CA0147
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2C50 #2CAF8B
analogous
#AF2C92 #AF2C50 #AF492C
triadic
#AF2C50 #50AF2C #2C50AF
tetradic
#AF2C50 #92AF2C #2CAF8B #492CAF
square
#AF2C50 #92AF2C #2CAF8B #492CAF
split-complementary
#AF2C50 #2CAF49 #2C92AF
monochromatic
#4D1323 #7E203A #AF2C50 #D1476D #DD7894
Accessibility & contrast
On white
6.37
#AF2C50 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#AF2C50 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2C50
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2C50 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2C50 | 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)
#4E4E51
Deuteranopia (green-blind)
#70694D
Tritanopia (blue-blind)
#BF063B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2c50; /* rgb */ color: rgb(175, 44, 80); /* oklch */ color: oklch(50.8% 0.168 9.6);
Tailwind
colors: {
custom: {
50: '#cd7180',
500: '#af2c50',
950: '#000000',
},
}SCSS
$custom: #af2c50; $custom-light: #cd7180; $custom-dark: #000000;
JSON
{
"hex": "#af2c50",
"rgb": {
"r": 175,
"g": 44,
"b": 80
},
"hsl": {
"h": 343.511,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.50776,
"c": 0.16755,
"h": 9.6
},
"luminance": 0.11495
}Semantic roles & 50–950 ramp
primary
#AF2C50
secondary
#72C5AE
accent
#E3B845
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C