#9F251F#9F251F
#9F251F is a mid, vivid red. Relative luminance 0.088; OKLCH L 46.4% C 0.159 H 28.1°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #9F251F |
|---|---|
| RGB | rgb(159, 37, 31) |
| HSL | hsl(3, 67%, 37%) |
| HSV | hsv(3, 81%, 62%) |
| CMYK | cmyk(0%, 76.7%, 80.5%, 37.6%) |
| CIE-LAB | lab(35.59, 49.09, 34.53) |
| CIE-LCH | lch(35.59, 60.02, 35.12°) |
| OKLab | oklab(46.36% 0.1405 0.075) |
| OKLCH | oklch(46.36% 0.159 28.1) |
| XYZ | xyz(15.2088, 8.7954, 2.1929) |
| Luminance | 0.0879 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.75
Carmine
#9D0216
ΔE00 3.36
Brownish Red
#9E3623
ΔE00 3.60
Firebrick
#B22222
ΔE00 3.63
Brick
#A03623
ΔE00 3.66
Darkish Red
#A90308
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F251F #1F999F
analogous
#9F1F59 #9F251F #9F651F
triadic
#9F251F #1F9F25 #251F9F
tetradic
#9F251F #599F1F #1F999F #651F9F
square
#9F251F #599F1F #1F999F #651F9F
split-complementary
#9F251F #1F9F65 #1F599F
monochromatic
#390D0B #6C1915 #9F251F #D23129 #DF605A
Accessibility & contrast
On white
7.61
#9F251F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#9F251F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F251F
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F251F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F251F | 1.00 | 7.61 | 2.76 | 7.61 |
| #FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B431D
Deuteranopia (green-blind)
#695D19
Tritanopia (blue-blind)
#B00025
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9f251f; /* rgb */ color: rgb(159, 37, 31); /* oklch */ color: oklch(46.4% 0.159 28.1);
Tailwind
colors: {
custom: {
50: '#c46a5c',
500: '#9f251f',
950: '#000000',
},
}SCSS
$custom: #9f251f; $custom-light: #c46a5c; $custom-dark: #000000;
JSON
{
"hex": "#9f251f",
"rgb": {
"r": 159,
"g": 37,
"b": 31
},
"hsl": {
"h": 2.813,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.46362,
"c": 0.15924,
"h": 28.1
},
"luminance": 0.08793
}Semantic roles & 50–950 ramp
primary
#9F251F
secondary
#57BEC3
accent
#E2EA3E
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140704
muted
#837A79