#AF2A45#AF2A45
#AF2A45 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.3% C 0.168 H 14.5°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2A45 |
|---|---|
| RGB | rgb(175, 42, 69) |
| HSL | hsl(348, 61%, 43%) |
| HSV | hsv(348, 76%, 69%) |
| CMYK | cmyk(0%, 76%, 60.6%, 31.4%) |
| CIE-LAB | lab(39.92, 54.28, 17.22) |
| CIE-LCH | lch(39.92, 56.95, 17.60°) |
| OKLab | oklab(50.34% 0.1631 0.0422) |
| OKLCH | oklch(50.34% 0.168 14.5) |
| XYZ | xyz(19.5833, 11.2024, 6.7602) |
| Luminance | 0.1120 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.22
Rose Red
#BE013C
ΔE00 3.56
Ruby
#CA0147
ΔE00 4.69
Raspberry (survey)
#B00149
ΔE00 4.94
Purplish Red
#B0054B
ΔE00 5.18
Cardinal
#C41E3A
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2A45 #2AAF94
analogous
#AF2A87 #AF2A45 #AF522A
triadic
#AF2A45 #45AF2A #2A45AF
tetradic
#AF2A45 #87AF2A #2AAF94 #522AAF
square
#AF2A45 #87AF2A #2AAF94 #522AAF
split-complementary
#AF2A45 #2AAF52 #2A87AF
monochromatic
#4C121E #7E1E32 #AF2A45 #D24461 #DE758B
Accessibility & contrast
On white
6.48
#AF2A45 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#AF2A45 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2A45
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2A45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2A45 | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4C45
Deuteranopia (green-blind)
#716841
Tritanopia (blue-blind)
#C00035
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2a45; /* rgb */ color: rgb(175, 42, 69); /* oklch */ color: oklch(50.3% 0.168 14.5);
Tailwind
colors: {
custom: {
50: '#ce6f78',
500: '#af2a45',
950: '#000000',
},
}SCSS
$custom: #af2a45; $custom-light: #ce6f78; $custom-dark: #000000;
JSON
{
"hex": "#af2a45",
"rgb": {
"r": 175,
"g": 42,
"b": 69
},
"hsl": {
"h": 347.82,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.50336,
"c": 0.16843,
"h": 14.5
},
"luminance": 0.112
}Semantic roles & 50–950 ramp
primary
#AF2A45
secondary
#6FC6B4
accent
#E4C443
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B