#AF2A44#AF2A44
#AF2A44 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.3% C 0.168 H 15.0°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2A44 |
|---|---|
| RGB | rgb(175, 42, 68) |
| HSL | hsl(348, 61%, 43%) |
| HSV | hsv(348, 76%, 69%) |
| CMYK | cmyk(0%, 76%, 61.1%, 31.4%) |
| CIE-LAB | lab(39.90, 54.22, 17.82) |
| CIE-LCH | lch(39.90, 57.07, 18.20°) |
| OKLab | oklab(50.31% 0.1627 0.0436) |
| OKLCH | oklch(50.31% 0.168 15) |
| XYZ | xyz(19.5525, 11.1901, 6.5981) |
| Luminance | 0.1119 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.11
Rose Red
#BE013C
ΔE00 3.42
Ruby
#CA0147
ΔE00 4.71
Raspberry (survey)
#B00149
ΔE00 5.20
Cardinal
#C41E3A
ΔE00 5.39
Purplish Red
#B0054B
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2A44 #2AAF95
analogous
#AF2A86 #AF2A44 #AF532A
triadic
#AF2A44 #44AF2A #2A44AF
tetradic
#AF2A44 #86AF2A #2AAF95 #532AAF
square
#AF2A44 #86AF2A #2AAF95 #532AAF
split-complementary
#AF2A44 #2AAF53 #2A86AF
monochromatic
#4C121E #7E1E31 #AF2A44 #D24460 #DE758A
Accessibility & contrast
On white
6.49
#AF2A44 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#AF2A44 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2A44
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2A44 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2A44 | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4C44
Deuteranopia (green-blind)
#716840
Tritanopia (blue-blind)
#C00035
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2a44; /* rgb */ color: rgb(175, 42, 68); /* oklch */ color: oklch(50.3% 0.168 15.0);
Tailwind
colors: {
custom: {
50: '#ce6f77',
500: '#af2a44',
950: '#000000',
},
}SCSS
$custom: #af2a44; $custom-light: #ce6f77; $custom-dark: #000000;
JSON
{
"hex": "#af2a44",
"rgb": {
"r": 175,
"g": 42,
"b": 68
},
"hsl": {
"h": 348.271,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.50314,
"c": 0.16839,
"h": 15
},
"luminance": 0.11187
}Semantic roles & 50–950 ramp
primary
#AF2A44
secondary
#6FC6B5
accent
#E4C543
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B