#AF2C4F#AF2C4F
#AF2C4F is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.7% C 0.167 H 10.1°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2C4F |
|---|---|
| RGB | rgb(175, 44, 79) |
| HSL | hsl(344, 60%, 43%) |
| HSV | hsv(344, 75%, 69%) |
| CMYK | cmyk(0%, 74.9%, 54.9%, 31.4%) |
| CIE-LAB | lab(40.38, 54.34, 11.53) |
| CIE-LCH | lch(40.38, 55.55, 11.99°) |
| OKLab | oklab(50.75% 0.1648 0.0292) |
| OKLCH | oklch(50.75% 0.167 10.1) |
| XYZ | xyz(19.9930, 11.4826, 8.5592) |
| Luminance | 0.1148 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.54
Raspberry (survey)
#B00149
ΔE00 3.60
Light Burgundy
#A8415B
ΔE00 4.02
Rouge
#AB1239
ΔE00 5.34
Ruby
#CA0147
ΔE00 5.47
Light Maroon
#A24857
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2C4F #2CAF8C
analogous
#AF2C91 #AF2C4F #AF4A2C
triadic
#AF2C4F #4FAF2C #2C4FAF
tetradic
#AF2C4F #91AF2C #2CAF8C #4A2CAF
square
#AF2C4F #91AF2C #2CAF8C #4A2CAF
split-complementary
#AF2C4F #2CAF4A #2C91AF
monochromatic
#4D1323 #7E2039 #AF2C4F #D1476C #DD7893
Accessibility & contrast
On white
6.37
#AF2C4F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#AF2C4F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2C4F
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2C4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2C4F | 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)
#4E4E50
Deuteranopia (green-blind)
#70694C
Tritanopia (blue-blind)
#BF053B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2c4f; /* rgb */ color: rgb(175, 44, 79); /* oklch */ color: oklch(50.7% 0.167 10.1);
Tailwind
colors: {
custom: {
50: '#cd7080',
500: '#af2c4f',
950: '#000000',
},
}SCSS
$custom: #af2c4f; $custom-light: #cd7080; $custom-dark: #000000;
JSON
{
"hex": "#af2c4f",
"rgb": {
"r": 175,
"g": 44,
"b": 79
},
"hsl": {
"h": 343.969,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.5075,
"c": 0.16741,
"h": 10.1
},
"luminance": 0.1148
}Semantic roles & 50–950 ramp
primary
#AF2C4F
secondary
#72C5AF
accent
#E3B945
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C