#AF242E#AF242E
#AF242E is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.4% C 0.174 H 23.1°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #AF242E |
|---|---|
| RGB | rgb(175, 36, 46) |
| HSL | hsl(356, 66%, 41%) |
| HSV | hsv(356, 79%, 69%) |
| CMYK | cmyk(0%, 79.4%, 73.7%, 31.4%) |
| CIE-LAB | lab(38.86, 54.90, 30.18) |
| CIE-LCH | lch(38.86, 62.65, 28.80°) |
| OKLab | oklab(49.42% 0.1601 0.0684) |
| OKLCH | oklch(49.42% 0.174 23.1) |
| XYZ | xyz(18.8054, 10.5759, 3.6354) |
| Luminance | 0.1057 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.35
Lipstick Red
#C0022F
ΔE00 3.29
Firebrick
#B22222
ΔE00 3.52
Cardinal
#C41E3A
ΔE00 4.70
Scarlet
#BE0119
ΔE00 5.21
Dull Red
#BB3F3F
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF242E #24AFA5
analogous
#AF2474 #AF242E #AF5F24
triadic
#AF242E #2EAF24 #242EAF
tetradic
#AF242E #74AF24 #24AFA5 #5F24AF
square
#AF242E #74AF24 #24AFA5 #5F24AF
split-complementary
#AF242E #24AF5F #2474AF
monochromatic
#490F13 #7C1A21 #AF242E #D63A45 #E16D75
Accessibility & contrast
On white
6.74
#AF242E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#AF242E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF242E
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF242E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF242E | 1.00 | 6.74 | 3.11 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F482D
Deuteranopia (green-blind)
#716629
Tritanopia (blue-blind)
#C10029
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #af242e; /* rgb */ color: rgb(175, 36, 46); /* oklch */ color: oklch(49.4% 0.174 23.1);
Tailwind
colors: {
custom: {
50: '#d06c67',
500: '#af242e',
950: '#000000',
},
}SCSS
$custom: #af242e; $custom-light: #d06c67; $custom-dark: #000000;
JSON
{
"hex": "#af242e",
"rgb": {
"r": 175,
"g": 36,
"b": 46
},
"hsl": {
"h": 355.683,
"s": 65.877,
"l": 41.373
},
"oklch": {
"l": 0.49421,
"c": 0.17413,
"h": 23.1
},
"luminance": 0.10573
}Semantic roles & 50–950 ramp
primary
#AF242E
secondary
#68C7C0
accent
#E9DD3F
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#150806
muted
#837B7A