#AF242F#AF242F
#AF242F is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.4% C 0.174 H 22.7°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #AF242F |
|---|---|
| RGB | rgb(175, 36, 47) |
| HSL | hsl(355, 66%, 41%) |
| HSV | hsv(355, 79%, 69%) |
| CMYK | cmyk(0%, 79.4%, 73.1%, 31.4%) |
| CIE-LAB | lab(38.87, 54.94, 29.59) |
| CIE-LCH | lch(38.87, 62.40, 28.30°) |
| OKLab | oklab(49.44% 0.1605 0.0673) |
| OKLCH | oklch(49.44% 0.174 22.7) |
| XYZ | xyz(18.8254, 10.5839, 3.7404) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.55
Lipstick Red
#C0022F
ΔE00 3.19
Firebrick
#B22222
ΔE00 3.83
Cardinal
#C41E3A
ΔE00 4.53
Scarlet
#BE0119
ΔE00 5.48
Rose Red
#BE013C
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF242F #24AFA4
analogous
#AF2475 #AF242F #AF5F24
triadic
#AF242F #2FAF24 #242FAF
tetradic
#AF242F #75AF24 #24AFA4 #5F24AF
square
#AF242F #75AF24 #24AFA4 #5F24AF
split-complementary
#AF242F #24AF5F #2475AF
monochromatic
#490F14 #7C1A21 #AF242F #D63A46 #E16D76
Accessibility & contrast
On white
6.74
#AF242F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#AF242F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF242F
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF242F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF242F | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F492E
Deuteranopia (green-blind)
#71662A
Tritanopia (blue-blind)
#C1002A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #af242f; /* rgb */ color: rgb(175, 36, 47); /* oklch */ color: oklch(49.4% 0.174 22.7);
Tailwind
colors: {
custom: {
50: '#cf6c67',
500: '#af242f',
950: '#000000',
},
}SCSS
$custom: #af242f; $custom-light: #cf6c67; $custom-dark: #000000;
JSON
{
"hex": "#af242f",
"rgb": {
"r": 175,
"g": 36,
"b": 47
},
"hsl": {
"h": 355.252,
"s": 65.877,
"l": 41.373
},
"oklch": {
"l": 0.49436,
"c": 0.17405,
"h": 22.7
},
"luminance": 0.10581
}Semantic roles & 50–950 ramp
primary
#AF242F
secondary
#68C7C0
accent
#E9DB3F
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#150806
muted
#837B7A