#AF242C#AF242C
#AF242C is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.4% C 0.174 H 23.9°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #AF242C |
|---|---|
| RGB | rgb(175, 36, 44) |
| HSL | hsl(357, 66%, 41%) |
| HSV | hsv(357, 79%, 69%) |
| CMYK | cmyk(0%, 79.4%, 74.9%, 31.4%) |
| CIE-LAB | lab(38.83, 54.82, 31.35) |
| CIE-LCH | lch(38.83, 63.15, 29.77°) |
| OKLab | oklab(49.39% 0.1594 0.0705) |
| OKLCH | oklch(49.39% 0.174 23.9) |
| XYZ | xyz(18.7669, 10.5605, 3.4326) |
| Luminance | 0.1056 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.04
Firebrick
#B22222
ΔE00 2.91
Lipstick Red
#C0022F
ΔE00 3.57
Scarlet
#BE0119
ΔE00 4.70
Cardinal
#C41E3A
ΔE00 5.06
Dull Red
#BB3F3F
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF242C #24AFA7
analogous
#AF2472 #AF242C #AF6224
triadic
#AF242C #2CAF24 #242CAF
tetradic
#AF242C #72AF24 #24AFA7 #6224AF
square
#AF242C #72AF24 #24AFA7 #6224AF
split-complementary
#AF242C #24AF62 #2472AF
monochromatic
#490F12 #7C1A1F #AF242C #D63A43 #E16D73
Accessibility & contrast
On white
6.75
#AF242C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#AF242C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF242C
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF242C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF242C | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F482B
Deuteranopia (green-blind)
#726627
Tritanopia (blue-blind)
#C10029
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #af242c; /* rgb */ color: rgb(175, 36, 44); /* oklch */ color: oklch(49.4% 0.174 23.9);
Tailwind
colors: {
custom: {
50: '#d06c65',
500: '#af242c',
950: '#000000',
},
}SCSS
$custom: #af242c; $custom-light: #d06c65; $custom-dark: #000000;
JSON
{
"hex": "#af242c",
"rgb": {
"r": 175,
"g": 36,
"b": 44
},
"hsl": {
"h": 356.547,
"s": 65.877,
"l": 41.373
},
"oklch": {
"l": 0.49393,
"c": 0.17432,
"h": 23.9
},
"luminance": 0.10558
}Semantic roles & 50–950 ramp
primary
#AF242C
secondary
#68C7C2
accent
#E9DF3F
background
#FEF6F6
surface
#FCECEB
border
#D5C7C6
text
#160805
muted
#847A7A