#AF2A4C#AF2A4C
#AF2A4C is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.5% C 0.169 H 11.1°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2A4C |
|---|---|
| RGB | rgb(175, 42, 76) |
| HSL | hsl(345, 61%, 43%) |
| HSV | hsv(345, 76%, 69%) |
| CMYK | cmyk(0%, 76%, 56.6%, 31.4%) |
| CIE-LAB | lab(40.07, 54.78, 13.00) |
| CIE-LCH | lch(40.07, 56.30, 13.35°) |
| OKLab | oklab(50.5% 0.1658 0.0326) |
| OKLCH | oklch(50.5% 0.169 11.1) |
| XYZ | xyz(19.8136, 11.2945, 7.9728) |
| Luminance | 0.1129 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 3.55
Purplish Red
#B0054B
ΔE00 3.60
Rouge
#AB1239
ΔE00 4.59
Light Burgundy
#A8415B
ΔE00 4.60
Rose Red
#BE013C
ΔE00 5.04
Ruby
#CA0147
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2A4C #2AAF8D
analogous
#AF2A8E #AF2A4C #AF4B2A
triadic
#AF2A4C #4CAF2A #2A4CAF
tetradic
#AF2A4C #8EAF2A #2AAF8D #4B2AAF
square
#AF2A4C #8EAF2A #2AAF8D #4B2AAF
split-complementary
#AF2A4C #2AAF4B #2A8EAF
monochromatic
#4C1221 #7E1E37 #AF2A4C #D24468 #DE7590
Accessibility & contrast
On white
6.44
#AF2A4C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#AF2A4C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2A4C
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2A4C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2A4C | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4D4D
Deuteranopia (green-blind)
#706849
Tritanopia (blue-blind)
#BF0038
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2a4c; /* rgb */ color: rgb(175, 42, 76); /* oklch */ color: oklch(50.5% 0.169 11.1);
Tailwind
colors: {
custom: {
50: '#cd707d',
500: '#af2a4c',
950: '#000000',
},
}SCSS
$custom: #af2a4c; $custom-light: #cd707d; $custom-dark: #000000;
JSON
{
"hex": "#af2a4c",
"rgb": {
"r": 175,
"g": 42,
"b": 76
},
"hsl": {
"h": 344.662,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.50498,
"c": 0.169,
"h": 11.1
},
"luminance": 0.11292
}Semantic roles & 50–950 ramp
primary
#AF2A4C
secondary
#6FC6AF
accent
#E4BB43
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150809
muted
#837B7B