#AF312F#AF312F
#AF312F is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.6% C 0.163 H 25.9°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #AF312F |
|---|---|
| RGB | rgb(175, 49, 47) |
| HSL | hsl(1, 58%, 44%) |
| HSV | hsv(1, 73%, 69%) |
| CMYK | cmyk(0%, 72%, 73.1%, 31.4%) |
| CIE-LAB | lab(40.44, 50.57, 31.41) |
| CIE-LCH | lch(40.44, 59.53, 31.84°) |
| OKLab | oklab(50.6% 0.1466 0.0713) |
| OKLCH | oklch(50.6% 0.163 25.9) |
| XYZ | xyz(19.2928, 11.5187, 3.8962) |
| Luminance | 0.1152 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.55
Firebrick
#B22222
ΔE00 2.71
Dull Red
#BB3F3F
ΔE00 4.45
Scarlet
#BE0119
ΔE00 4.82
Lipstick Red
#C0022F
ΔE00 4.90
Brick
#A03623
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF312F #2FADAF
analogous
#AF2F6D #AF312F #AF712F
triadic
#AF312F #2FAF31 #312FAF
tetradic
#AF312F #6DAF2F #2FADAF #712FAF
square
#AF312F #6DAF2F #2FADAF #712FAF
split-complementary
#AF312F #2FAF71 #2F6DAF
monochromatic
#4F1615 #7F2322 #AF312F #CF4E4C #DC7E7C
Accessibility & contrast
On white
6.36
#AF312F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#AF312F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF312F
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF312F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF312F | 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)
#554E2D
Deuteranopia (green-blind)
#75692B
Tritanopia (blue-blind)
#C10032
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af312f; /* rgb */ color: rgb(175, 49, 47); /* oklch */ color: oklch(50.6% 0.163 25.9);
Tailwind
colors: {
custom: {
50: '#cf7268',
500: '#af312f',
950: '#000000',
},
}SCSS
$custom: #af312f; $custom-light: #cf7268; $custom-dark: #000000;
JSON
{
"hex": "#af312f",
"rgb": {
"r": 175,
"g": 49,
"b": 47
},
"hsl": {
"h": 0.938,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.50604,
"c": 0.16304,
"h": 25.9
},
"luminance": 0.11516
}Semantic roles & 50–950 ramp
primary
#AF312F
secondary
#75C3C4
accent
#DEE147
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A