#AF302C#AF302C
#AF302C is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.5% C 0.164 H 26.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #AF302C |
|---|---|
| RGB | rgb(175, 48, 44) |
| HSL | hsl(2, 60%, 43%) |
| HSV | hsv(2, 75%, 69%) |
| CMYK | cmyk(0%, 72.6%, 74.9%, 31.4%) |
| CIE-LAB | lab(40.27, 50.81, 32.97) |
| CIE-LCH | lch(40.27, 60.57, 32.98°) |
| OKLab | oklab(50.46% 0.1468 0.074) |
| OKLCH | oklch(50.46% 0.164 26.8) |
| XYZ | xyz(19.1930, 11.4126, 3.5746) |
| Luminance | 0.1141 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.12
Brown
#A52A2A
ΔE00 2.60
Scarlet
#BE0119
ΔE00 4.34
Brick
#A03623
ΔE00 4.49
Brownish Red
#9E3623
ΔE00 4.73
Dull Red
#BB3F3F
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF302C #2CABAF
analogous
#AF2C69 #AF302C #AF712C
triadic
#AF302C #2CAF30 #302CAF
tetradic
#AF302C #69AF2C #2CABAF #712CAF
square
#AF302C #69AF2C #2CABAF #712CAF
split-complementary
#AF302C #2CAF71 #2C69AF
monochromatic
#4D1513 #7E2320 #AF302C #D14C47 #DD7B78
Accessibility & contrast
On white
6.40
#AF302C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#AF302C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF302C
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF302C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF302C | 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)
#554D2A
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#C10030
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af302c; /* rgb */ color: rgb(175, 48, 44); /* oklch */ color: oklch(50.5% 0.164 26.8);
Tailwind
colors: {
custom: {
50: '#cf7165',
500: '#af302c',
950: '#000000',
},
}SCSS
$custom: #af302c; $custom-light: #cf7165; $custom-dark: #000000;
JSON
{
"hex": "#af302c",
"rgb": {
"r": 175,
"g": 48,
"b": 44
},
"hsl": {
"h": 1.832,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.50462,
"c": 0.16436,
"h": 26.8
},
"luminance": 0.1141
}Semantic roles & 50–950 ramp
primary
#AF302C
secondary
#72C3C5
accent
#DEE345
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A