#AF2A4E#AF2A4E
#AF2A4E is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.5% C 0.169 H 10.2°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2A4E |
|---|---|
| RGB | rgb(175, 42, 78) |
| HSL | hsl(344, 61%, 43%) |
| HSV | hsv(344, 76%, 69%) |
| CMYK | cmyk(0%, 76%, 55.4%, 31.4%) |
| CIE-LAB | lab(40.12, 54.93, 11.80) |
| CIE-LCH | lch(40.12, 56.18, 12.13°) |
| OKLab | oklab(50.55% 0.1666 0.0298) |
| OKLCH | oklch(50.55% 0.169 10.2) |
| XYZ | xyz(19.8842, 11.3228, 8.3447) |
| Luminance | 0.1132 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.31
Raspberry (survey)
#B00149
ΔE00 3.34
Light Burgundy
#A8415B
ΔE00 4.31
Rouge
#AB1239
ΔE00 5.10
Ruby
#CA0147
ΔE00 5.39
Rose Red
#BE013C
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2A4E #2AAF8B
analogous
#AF2A91 #AF2A4E #AF482A
triadic
#AF2A4E #4EAF2A #2A4EAF
tetradic
#AF2A4E #91AF2A #2AAF8B #482AAF
square
#AF2A4E #91AF2A #2AAF8B #482AAF
split-complementary
#AF2A4E #2AAF48 #2A91AF
monochromatic
#4C1222 #7E1E38 #AF2A4E #D2446B #DE7592
Accessibility & contrast
On white
6.43
#AF2A4E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#AF2A4E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2A4E
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2A4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2A4E | 1.00 | 6.43 | 3.26 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4D4F
Deuteranopia (green-blind)
#6F684B
Tritanopia (blue-blind)
#BF0039
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2a4e; /* rgb */ color: rgb(175, 42, 78); /* oklch */ color: oklch(50.5% 0.169 10.2);
Tailwind
colors: {
custom: {
50: '#cd707f',
500: '#af2a4e',
950: '#000000',
},
}SCSS
$custom: #af2a4e; $custom-light: #cd707f; $custom-dark: #000000;
JSON
{
"hex": "#af2a4e",
"rgb": {
"r": 175,
"g": 42,
"b": 78
},
"hsl": {
"h": 343.759,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.50548,
"c": 0.16926,
"h": 10.2
},
"luminance": 0.1132
}Semantic roles & 50–950 ramp
primary
#AF2A4E
secondary
#6FC6AE
accent
#E4B943
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C