#9F2527#9F2527
#9F2527 is a mid, vivid red. Relative luminance 0.088; OKLCH L 46.5% C 0.158 H 25.2°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2527 |
|---|---|
| RGB | rgb(159, 37, 39) |
| HSL | hsl(359, 62%, 38%) |
| HSV | hsv(359, 77%, 62%) |
| CMYK | cmyk(0%, 76.7%, 75.5%, 37.6%) |
| CIE-LAB | lab(35.68, 49.40, 29.94) |
| CIE-LCH | lch(35.68, 57.76, 31.22°) |
| OKLab | oklab(46.46% 0.1432 0.0672) |
| OKLCH | oklch(46.46% 0.158 25.2) |
| XYZ | xyz(15.3276, 8.8429, 2.8189) |
| Luminance | 0.0884 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.57
Carmine
#9D0216
ΔE00 3.72
Firebrick
#B22222
ΔE00 4.23
Brownish Red
#9E3623
ΔE00 5.32
Brick
#A03623
ΔE00 5.38
Darkish Red
#A90308
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2527 #259F9D
analogous
#9F2564 #9F2527 #9F6025
triadic
#9F2527 #279F25 #25279F
tetradic
#9F2527 #649F25 #259F9D #60259F
square
#9F2527 #649F25 #259F9D #60259F
split-complementary
#9F2527 #259F60 #25649F
monochromatic
#3C0E0F #6D191B #9F2527 #CF3235 #DB6466
Accessibility & contrast
On white
7.59
#9F2527 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#9F2527 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2527
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2527 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2527 | 1.00 | 7.59 | 2.77 | 7.59 |
| #FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4326
Deuteranopia (green-blind)
#685D22
Tritanopia (blue-blind)
#AF0027
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9f2527; /* rgb */ color: rgb(159, 37, 39); /* oklch */ color: oklch(46.5% 0.158 25.2);
Tailwind
colors: {
custom: {
50: '#c46a61',
500: '#9f2527',
950: '#000000',
},
}SCSS
$custom: #9f2527; $custom-light: #c46a61; $custom-dark: #000000;
JSON
{
"hex": "#9f2527",
"rgb": {
"r": 159,
"g": 37,
"b": 39
},
"hsl": {
"h": 359.016,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.46461,
"c": 0.1582,
"h": 25.2
},
"luminance": 0.08841
}Semantic roles & 50–950 ramp
primary
#9F2527
secondary
#5FC0BF
accent
#E5E342
background
#FDF6F5
surface
#FAECEA
border
#D3C7C6
text
#140705
muted
#837A79