#AF312E#AF312E
#AF312E is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.6% C 0.163 H 26.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #AF312E |
|---|---|
| RGB | rgb(175, 49, 46) |
| HSL | hsl(1, 58%, 43%) |
| HSV | hsv(1, 74%, 69%) |
| CMYK | cmyk(0%, 72%, 73.7%, 31.4%) |
| CIE-LAB | lab(40.43, 50.52, 31.98) |
| CIE-LCH | lch(40.43, 59.79, 32.33°) |
| OKLab | oklab(50.59% 0.1463 0.0723) |
| OKLCH | oklch(50.59% 0.163 26.3) |
| XYZ | xyz(19.2728, 11.5108, 3.7912) |
| Luminance | 0.1151 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.50
Brown
#A52A2A
ΔE00 2.59
Dull Red
#BB3F3F
ΔE00 4.59
Scarlet
#BE0119
ΔE00 4.66
Brick
#A03623
ΔE00 4.82
Brownish Red
#9E3623
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF312E #2EACAF
analogous
#AF2E6B #AF312E #AF712E
triadic
#AF312E #2EAF31 #312EAF
tetradic
#AF312E #6BAF2E #2EACAF #712EAF
square
#AF312E #6BAF2E #2EACAF #712EAF
split-complementary
#AF312E #2EAF71 #2E6BAF
monochromatic
#4E1615 #7F2321 #AF312E #D04E4B #DC7D7B
Accessibility & contrast
On white
6.36
#AF312E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#AF312E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF312E
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF312E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF312E | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564E2C
Deuteranopia (green-blind)
#75692A
Tritanopia (blue-blind)
#C10032
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af312e; /* rgb */ color: rgb(175, 49, 46); /* oklch */ color: oklch(50.6% 0.163 26.3);
Tailwind
colors: {
custom: {
50: '#cf7267',
500: '#af312e',
950: '#000000',
},
}SCSS
$custom: #af312e; $custom-light: #cf7267; $custom-dark: #000000;
JSON
{
"hex": "#af312e",
"rgb": {
"r": 175,
"g": 49,
"b": 46
},
"hsl": {
"h": 1.395,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.5059,
"c": 0.16317,
"h": 26.3
},
"luminance": 0.11508
}Semantic roles & 50–950 ramp
primary
#AF312E
secondary
#74C3C5
accent
#DEE246
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A