#AF302F#AF302F
#AF302F is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.5% C 0.164 H 25.6°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #AF302F |
|---|---|
| RGB | rgb(175, 48, 47) |
| HSL | hsl(0, 58%, 44%) |
| HSV | hsv(0, 73%, 69%) |
| CMYK | cmyk(0%, 72.6%, 73.1%, 31.4%) |
| CIE-LAB | lab(40.31, 50.94, 31.25) |
| CIE-LCH | lch(40.31, 59.76, 31.53°) |
| OKLab | oklab(50.5% 0.1478 0.0709) |
| OKLCH | oklch(50.5% 0.164 25.6) |
| XYZ | xyz(19.2514, 11.4360, 3.8825) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.44
Firebrick
#B22222
ΔE00 2.72
Dull Red
#BB3F3F
ΔE00 4.51
Lipstick Red
#C0022F
ΔE00 4.72
Scarlet
#BE0119
ΔE00 4.82
Brick
#A03623
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF302F #2FAEAF
analogous
#AF2F6E #AF302F #AF702F
triadic
#AF302F #2FAF30 #302FAF
tetradic
#AF302F #6EAF2F #2FAEAF #702FAF
square
#AF302F #6EAF2F #2FAEAF #702FAF
split-complementary
#AF302F #2FAF70 #2F6EAF
monochromatic
#4F1615 #7F2322 #AF302F #CF4D4C #DC7D7C
Accessibility & contrast
On white
6.39
#AF302F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#AF302F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF302F
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF302F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF302F | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554D2E
Deuteranopia (green-blind)
#75692B
Tritanopia (blue-blind)
#C10031
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af302f; /* rgb */ color: rgb(175, 48, 47); /* oklch */ color: oklch(50.5% 0.164 25.6);
Tailwind
colors: {
custom: {
50: '#cf7268',
500: '#af302f',
950: '#000000',
},
}SCSS
$custom: #af302f; $custom-light: #cf7268; $custom-dark: #000000;
JSON
{
"hex": "#af302f",
"rgb": {
"r": 175,
"g": 48,
"b": 47
},
"hsl": {
"h": 0.469,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.50503,
"c": 0.16395,
"h": 25.6
},
"luminance": 0.11433
}Semantic roles & 50–950 ramp
primary
#AF302F
secondary
#75C4C4
accent
#E0E147
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A