#AF2A4A#AF2A4A
#AF2A4A is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.4% C 0.169 H 12.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2A4A |
|---|---|
| RGB | rgb(175, 42, 74) |
| HSL | hsl(346, 61%, 43%) |
| HSV | hsv(346, 76%, 69%) |
| CMYK | cmyk(0%, 76%, 57.7%, 31.4%) |
| CIE-LAB | lab(40.03, 54.63, 14.21) |
| CIE-LCH | lch(40.03, 56.45, 14.58°) |
| OKLab | oklab(50.45% 0.165 0.0354) |
| OKLCH | oklch(50.45% 0.169 12.1) |
| XYZ | xyz(19.7451, 11.2671, 7.6123) |
| Luminance | 0.1126 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 3.86
Purplish Red
#B0054B
ΔE00 3.98
Rouge
#AB1239
ΔE00 4.12
Rose Red
#BE013C
ΔE00 4.56
Ruby
#CA0147
ΔE00 4.88
Light Burgundy
#A8415B
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2A4A #2AAF8F
analogous
#AF2A8C #AF2A4A #AF4D2A
triadic
#AF2A4A #4AAF2A #2A4AAF
tetradic
#AF2A4A #8CAF2A #2AAF8F #4D2AAF
square
#AF2A4A #8CAF2A #2AAF8F #4D2AAF
split-complementary
#AF2A4A #2AAF4D #2A8CAF
monochromatic
#4C1220 #7E1E35 #AF2A4A #D24466 #DE758F
Accessibility & contrast
On white
6.46
#AF2A4A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#AF2A4A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2A4A
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2A4A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2A4A | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4D4A
Deuteranopia (green-blind)
#706847
Tritanopia (blue-blind)
#C00037
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2a4a; /* rgb */ color: rgb(175, 42, 74); /* oklch */ color: oklch(50.4% 0.169 12.1);
Tailwind
colors: {
custom: {
50: '#ce6f7c',
500: '#af2a4a',
950: '#000000',
},
}SCSS
$custom: #af2a4a; $custom-light: #ce6f7c; $custom-dark: #000000;
JSON
{
"hex": "#af2a4a",
"rgb": {
"r": 175,
"g": 42,
"b": 74
},
"hsl": {
"h": 345.564,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.5045,
"c": 0.16879,
"h": 12.1
},
"luminance": 0.11264
}Semantic roles & 50–950 ramp
primary
#AF2A4A
secondary
#6FC6B1
accent
#E4BE43
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B