#9F2427#9F2427
#9F2427 is a mid, vivid red. Relative luminance 0.088; OKLCH L 46.4% C 0.159 H 24.9°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2427 |
|---|---|
| RGB | rgb(159, 36, 39) |
| HSL | hsl(359, 63%, 38%) |
| HSV | hsv(359, 77%, 62%) |
| CMYK | cmyk(0%, 77.4%, 75.5%, 37.6%) |
| CIE-LAB | lab(35.56, 49.73, 29.80) |
| CIE-LCH | lch(35.56, 57.98, 30.93°) |
| OKLab | oklab(46.37% 0.1443 0.067) |
| OKLCH | oklch(46.37% 0.159 24.9) |
| XYZ | xyz(15.2969, 8.7816, 2.8086) |
| Luminance | 0.0878 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.70
Carmine
#9D0216
ΔE00 3.68
Firebrick
#B22222
ΔE00 4.34
Brownish Red
#9E3623
ΔE00 5.53
Brick
#A03623
ΔE00 5.59
Crimson (survey)
#8C000F
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2427 #249F9C
analogous
#9F2464 #9F2427 #9F5F24
triadic
#9F2427 #279F24 #24279F
tetradic
#9F2427 #649F24 #249F9C #5F249F
square
#9F2427 #649F24 #249F9C #5F249F
split-complementary
#9F2427 #249F5F #24649F
monochromatic
#3B0D0F #6D191B #9F2427 #D03034 #DB6265
Accessibility & contrast
On white
7.62
#9F2427 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#9F2427 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2427
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2427 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2427 | 1.00 | 7.62 | 2.76 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494326
Deuteranopia (green-blind)
#685D22
Tritanopia (blue-blind)
#AF0027
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9f2427; /* rgb */ color: rgb(159, 36, 39); /* oklch */ color: oklch(46.4% 0.159 24.9);
Tailwind
colors: {
custom: {
50: '#c46a61',
500: '#9f2427',
950: '#000000',
},
}SCSS
$custom: #9f2427; $custom-light: #c46a61; $custom-dark: #000000;
JSON
{
"hex": "#9f2427",
"rgb": {
"r": 159,
"g": 36,
"b": 39
},
"hsl": {
"h": 358.537,
"s": 63.077,
"l": 38.235
},
"oklch": {
"l": 0.46372,
"c": 0.15904,
"h": 24.9
},
"luminance": 0.08779
}Semantic roles & 50–950 ramp
primary
#9F2427
secondary
#5EC1BE
accent
#E6E242
background
#FDF6F5
surface
#FAECEA
border
#D3C7C6
text
#140705
muted
#837A79