#AF2C4E#AF2C4E
#AF2C4E is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.7% C 0.167 H 10.6°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2C4E |
|---|---|
| RGB | rgb(175, 44, 78) |
| HSL | hsl(344, 60%, 43%) |
| HSV | hsv(344, 75%, 69%) |
| CMYK | cmyk(0%, 74.9%, 55.4%, 31.4%) |
| CIE-LAB | lab(40.36, 54.26, 12.13) |
| CIE-LCH | lch(40.36, 55.60, 12.61°) |
| OKLab | oklab(50.72% 0.1645 0.0306) |
| OKLCH | oklch(50.72% 0.167 10.6) |
| XYZ | xyz(19.9569, 11.4682, 8.3690) |
| Luminance | 0.1147 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.66
Raspberry (survey)
#B00149
ΔE00 3.68
Light Burgundy
#A8415B
ΔE00 4.17
Rouge
#AB1239
ΔE00 5.09
Ruby
#CA0147
ΔE00 5.31
Rose Red
#BE013C
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2C4E #2CAF8D
analogous
#AF2C90 #AF2C4E #AF4B2C
triadic
#AF2C4E #4EAF2C #2C4EAF
tetradic
#AF2C4E #90AF2C #2CAF8D #4B2CAF
square
#AF2C4E #90AF2C #2CAF8D #4B2CAF
split-complementary
#AF2C4E #2CAF4B #2C90AF
monochromatic
#4D1322 #7E2038 #AF2C4E #D1476B #DD7892
Accessibility & contrast
On white
6.38
#AF2C4E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#AF2C4E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2C4E
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2C4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2C4E | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4E4F
Deuteranopia (green-blind)
#70694B
Tritanopia (blue-blind)
#BF043A
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2c4e; /* rgb */ color: rgb(175, 44, 78); /* oklch */ color: oklch(50.7% 0.167 10.6);
Tailwind
colors: {
custom: {
50: '#cd707f',
500: '#af2c4e',
950: '#000000',
},
}SCSS
$custom: #af2c4e; $custom-light: #cd707f; $custom-dark: #000000;
JSON
{
"hex": "#af2c4e",
"rgb": {
"r": 175,
"g": 44,
"b": 78
},
"hsl": {
"h": 344.427,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.50725,
"c": 0.16728,
"h": 10.6
},
"luminance": 0.11465
}Semantic roles & 50–950 ramp
primary
#AF2C4E
secondary
#72C5AF
accent
#E3BA45
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C