#AF302A#AF302A
#AF302A is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.4% C 0.165 H 27.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #AF302A |
|---|---|
| RGB | rgb(175, 48, 42) |
| HSL | hsl(3, 61%, 43%) |
| HSV | hsv(3, 76%, 69%) |
| CMYK | cmyk(0%, 72.6%, 76%, 31.4%) |
| CIE-LAB | lab(40.24, 50.73, 34.11) |
| CIE-LCH | lch(40.24, 61.13, 33.91°) |
| OKLab | oklab(50.44% 0.1461 0.076) |
| OKLCH | oklch(50.44% 0.165 27.5) |
| XYZ | xyz(19.1563, 11.3980, 3.3814) |
| Luminance | 0.1139 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.89
Brown
#A52A2A
ΔE00 2.86
Brick
#A03623
ΔE00 4.07
Scarlet
#BE0119
ΔE00 4.11
Brownish Red
#9E3623
ΔE00 4.33
Dull Red
#BB3F3F
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF302A #2AA9AF
analogous
#AF2A66 #AF302A #AF732A
triadic
#AF302A #2AAF30 #302AAF
tetradic
#AF302A #66AF2A #2AA9AF #732AAF
square
#AF302A #66AF2A #2AA9AF #732AAF
split-complementary
#AF302A #2AAF73 #2A66AF
monochromatic
#4C1512 #7E221E #AF302A #D24A44 #DE7A75
Accessibility & contrast
On white
6.40
#AF302A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#AF302A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF302A
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF302A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF302A | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554D28
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#C10030
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af302a; /* rgb */ color: rgb(175, 48, 42); /* oklch */ color: oklch(50.4% 0.165 27.5);
Tailwind
colors: {
custom: {
50: '#cf7164',
500: '#af302a',
950: '#000000',
},
}SCSS
$custom: #af302a; $custom-light: #cf7164; $custom-dark: #000000;
JSON
{
"hex": "#af302a",
"rgb": {
"r": 175,
"g": 48,
"b": 42
},
"hsl": {
"h": 2.707,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.50437,
"c": 0.16465,
"h": 27.5
},
"luminance": 0.11395
}Semantic roles & 50–950 ramp
primary
#AF302A
secondary
#6FC2C6
accent
#DDE443
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A