#AF302D#AF302D
#AF302D is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.5% C 0.164 H 26.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #AF302D |
|---|---|
| RGB | rgb(175, 48, 45) |
| HSL | hsl(1, 59%, 43%) |
| HSV | hsv(1, 74%, 69%) |
| CMYK | cmyk(0%, 72.6%, 74.3%, 31.4%) |
| CIE-LAB | lab(40.28, 50.85, 32.40) |
| CIE-LCH | lch(40.28, 60.30, 32.50°) |
| OKLab | oklab(50.48% 0.1471 0.073) |
| OKLCH | oklch(50.48% 0.164 26.4) |
| XYZ | xyz(19.2120, 11.4202, 3.6748) |
| Luminance | 0.1142 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.30
Brown
#A52A2A
ΔE00 2.51
Scarlet
#BE0119
ΔE00 4.48
Brick
#A03623
ΔE00 4.72
Dull Red
#BB3F3F
ΔE00 4.78
Brownish Red
#9E3623
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF302D #2DACAF
analogous
#AF2D6B #AF302D #AF712D
triadic
#AF302D #2DAF30 #302DAF
tetradic
#AF302D #6BAF2D #2DACAF #712DAF
square
#AF302D #6BAF2D #2DACAF #712DAF
split-complementary
#AF302D #2DAF71 #2D6BAF
monochromatic
#4E1514 #7E2320 #AF302D #D04C49 #DD7C7A
Accessibility & contrast
On white
6.40
#AF302D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#AF302D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF302D
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF302D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF302D | 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)
#554D2B
Deuteranopia (green-blind)
#756928
Tritanopia (blue-blind)
#C10031
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af302d; /* rgb */ color: rgb(175, 48, 45); /* oklch */ color: oklch(50.5% 0.164 26.4);
Tailwind
colors: {
custom: {
50: '#cf7166',
500: '#af302d',
950: '#000000',
},
}SCSS
$custom: #af302d; $custom-light: #cf7166; $custom-dark: #000000;
JSON
{
"hex": "#af302d",
"rgb": {
"r": 175,
"g": 48,
"b": 45
},
"hsl": {
"h": 1.385,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.50476,
"c": 0.16422,
"h": 26.4
},
"luminance": 0.11417
}Semantic roles & 50–950 ramp
primary
#AF302D
secondary
#73C3C5
accent
#DFE246
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A