#AF302E#AF302E
#AF302E is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.5% C 0.164 H 26.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #AF302E |
|---|---|
| RGB | rgb(175, 48, 46) |
| HSL | hsl(1, 58%, 43%) |
| HSV | hsv(1, 74%, 69%) |
| CMYK | cmyk(0%, 72.6%, 73.7%, 31.4%) |
| CIE-LAB | lab(40.29, 50.90, 31.83) |
| CIE-LCH | lch(40.29, 60.03, 32.02°) |
| OKLab | oklab(50.49% 0.1475 0.072) |
| OKLCH | oklch(50.49% 0.164 26) |
| XYZ | xyz(19.2315, 11.4280, 3.7774) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.46
Firebrick
#B22222
ΔE00 2.50
Dull Red
#BB3F3F
ΔE00 4.63
Scarlet
#BE0119
ΔE00 4.64
Lipstick Red
#C0022F
ΔE00 4.90
Brick
#A03623
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF302E #2EADAF
analogous
#AF2E6C #AF302E #AF702E
triadic
#AF302E #2EAF30 #302EAF
tetradic
#AF302E #6CAF2E #2EADAF #702EAF
square
#AF302E #6CAF2E #2EADAF #702EAF
split-complementary
#AF302E #2EAF70 #2E6CAF
monochromatic
#4E1515 #7F2321 #AF302E #D04D4B #DC7D7B
Accessibility & contrast
On white
6.39
#AF302E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#AF302E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF302E
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF302E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF302E | 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)
#554D2C
Deuteranopia (green-blind)
#75692A
Tritanopia (blue-blind)
#C10031
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af302e; /* rgb */ color: rgb(175, 48, 46); /* oklch */ color: oklch(50.5% 0.164 26.0);
Tailwind
colors: {
custom: {
50: '#cf7267',
500: '#af302e',
950: '#000000',
},
}SCSS
$custom: #af302e; $custom-light: #cf7267; $custom-dark: #000000;
JSON
{
"hex": "#af302e",
"rgb": {
"r": 175,
"g": 48,
"b": 46
},
"hsl": {
"h": 0.93,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.50489,
"c": 0.16408,
"h": 26
},
"luminance": 0.11425
}Semantic roles & 50–950 ramp
primary
#AF302E
secondary
#74C3C5
accent
#DFE246
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A