#9F271F#9F271F
#9F271F is a mid, vivid red. Relative luminance 0.089; OKLCH L 46.5% C 0.158 H 28.6°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #9F271F |
|---|---|
| RGB | rgb(159, 39, 31) |
| HSL | hsl(4, 67%, 37%) |
| HSV | hsv(4, 81%, 62%) |
| CMYK | cmyk(0%, 75.5%, 80.5%, 37.6%) |
| CIE-LAB | lab(35.84, 48.40, 34.78) |
| CIE-LCH | lch(35.84, 59.60, 35.70°) |
| OKLab | oklab(46.55% 0.1383 0.0755) |
| OKLCH | oklch(46.55% 0.158 28.6) |
| XYZ | xyz(15.2727, 8.9233, 2.2143) |
| Luminance | 0.0892 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.92
Brownish Red
#9E3623
ΔE00 3.18
Brick
#A03623
ΔE00 3.24
Firebrick
#B22222
ΔE00 3.63
Carmine
#9D0216
ΔE00 3.72
Darkish Red
#A90308
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F271F #1F979F
analogous
#9F1F57 #9F271F #9F671F
triadic
#9F271F #1F9F27 #271F9F
tetradic
#9F271F #579F1F #1F979F #671F9F
square
#9F271F #579F1F #1F979F #671F9F
split-complementary
#9F271F #1F9F67 #1F579F
monochromatic
#390E0B #6C1A15 #9F271F #D23429 #DF625A
Accessibility & contrast
On white
7.54
#9F271F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#9F271F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F271F
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F271F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F271F | 1.00 | 7.54 | 2.78 | 7.54 |
| #FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C441D
Deuteranopia (green-blind)
#695E1A
Tritanopia (blue-blind)
#AF0026
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9f271f; /* rgb */ color: rgb(159, 39, 31); /* oklch */ color: oklch(46.5% 0.158 28.6);
Tailwind
colors: {
custom: {
50: '#c46b5c',
500: '#9f271f',
950: '#000000',
},
}SCSS
$custom: #9f271f; $custom-light: #c46b5c; $custom-dark: #000000;
JSON
{
"hex": "#9f271f",
"rgb": {
"r": 159,
"g": 39,
"b": 31
},
"hsl": {
"h": 3.75,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.46548,
"c": 0.15759,
"h": 28.6
},
"luminance": 0.08921
}Semantic roles & 50–950 ramp
primary
#9F271F
secondary
#57BCC3
accent
#DFEA3E
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140704
muted
#837A79