#AF251E#AF251E
#AF251E is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.3% C 0.175 H 28.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #AF251E |
|---|---|
| RGB | rgb(175, 37, 30) |
| HSL | hsl(3, 71%, 40%) |
| HSV | hsv(3, 83%, 69%) |
| CMYK | cmyk(0%, 78.9%, 82.9%, 31.4%) |
| CIE-LAB | lab(38.78, 54.03, 39.30) |
| CIE-LCH | lch(38.78, 66.82, 36.03°) |
| OKLab | oklab(49.31% 0.154 0.0835) |
| OKLCH | oklch(49.31% 0.175 28.5) |
| XYZ | xyz(18.5774, 10.5338, 2.2831) |
| Luminance | 0.1053 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.42
Scarlet
#BE0119
ΔE00 2.98
Brick
#A03623
ΔE00 3.71
Brown
#A52A2A
ΔE00 3.75
Darkish Red
#A90308
ΔE00 3.93
Brownish Red
#9E3623
ΔE00 3.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF251E #1EA8AF
analogous
#AF1E5F #AF251E #AF6E1E
triadic
#AF251E #1EAF25 #251EAF
tetradic
#AF251E #5FAF1E #1EA8AF #6E1EAF
square
#AF251E #5FAF1E #1EA8AF #6E1EAF
split-complementary
#AF251E #1EAF6E #1E5FAF
monochromatic
#470F0C #7B1A15 #AF251E #DB372F #E46963
Accessibility & contrast
On white
6.76
#AF251E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#AF251E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF251E
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF251E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF251E | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#51481B
Deuteranopia (green-blind)
#736617
Tritanopia (blue-blind)
#C10025
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #af251e; /* rgb */ color: rgb(175, 37, 30); /* oklch */ color: oklch(49.3% 0.175 28.5);
Tailwind
colors: {
custom: {
50: '#d16c5b',
500: '#af251e',
950: '#000000',
},
}SCSS
$custom: #af251e; $custom-light: #d16c5b; $custom-dark: #000000;
JSON
{
"hex": "#af251e",
"rgb": {
"r": 175,
"g": 37,
"b": 30
},
"hsl": {
"h": 2.897,
"s": 70.732,
"l": 40.196
},
"oklch": {
"l": 0.4931,
"c": 0.17519,
"h": 28.5
},
"luminance": 0.10531
}Semantic roles & 50–950 ramp
primary
#AF251E
secondary
#60C4C9
accent
#E5ED3A
background
#FEF6F5
surface
#FCECE9
border
#D5C7C5
text
#160804
muted
#847A79