#9F2F38#9F2F38
#9F2F38 is a mid, vivid red. Relative luminance 0.097; OKLCH L 47.7% C 0.147 H 20.3°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2F38 |
|---|---|
| RGB | rgb(159, 47, 56) |
| HSL | hsl(355, 54%, 40%) |
| HSV | hsv(355, 70%, 62%) |
| CMYK | cmyk(0%, 70.4%, 64.8%, 37.6%) |
| CIE-LAB | lab(37.28, 46.58, 21.38) |
| CIE-LCH | lch(37.28, 51.25, 24.65°) |
| OKLab | oklab(47.74% 0.138 0.0511) |
| OKLCH | oklch(47.74% 0.147 20.3) |
| XYZ | xyz(16.0300, 9.6918, 4.7672) |
| Luminance | 0.0969 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 4.26
Brown
#A52A2A
ΔE00 4.43
Rose Red
#BE013C
ΔE00 6.16
Lipstick Red
#C0022F
ΔE00 6.36
Cardinal
#C41E3A
ΔE00 6.78
Cranberry
#9E003A
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2F38 #2F9F96
analogous
#9F2F70 #9F2F38 #9F5E2F
triadic
#9F2F38 #389F2F #2F389F
tetradic
#9F2F38 #709F2F #2F9F96 #5E2F9F
square
#9F2F38 #709F2F #2F9F96 #5E2F9F
split-complementary
#9F2F38 #2F9F5E #2F709F
monochromatic
#411317 #702127 #9F2F38 #C8444E #D6737B
Accessibility & contrast
On white
7.15
#9F2F38 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#9F2F38 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2F38
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2F38 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2F38 | 1.00 | 7.15 | 2.94 | 7.15 |
| #FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4938
Deuteranopia (green-blind)
#6A6035
Tritanopia (blue-blind)
#AF1033
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9f2f38; /* rgb */ color: rgb(159, 47, 56); /* oklch */ color: oklch(47.7% 0.147 20.3);
Tailwind
colors: {
custom: {
50: '#c26f6e',
500: '#9f2f38',
950: '#000000',
},
}SCSS
$custom: #9f2f38; $custom-light: #c26f6e; $custom-dark: #000000;
JSON
{
"hex": "#9f2f38",
"rgb": {
"r": 159,
"g": 47,
"b": 56
},
"hsl": {
"h": 355.179,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.4774,
"c": 0.14713,
"h": 20.3
},
"luminance": 0.09689
}Semantic roles & 50–950 ramp
primary
#9F2F38
secondary
#6DBDB7
accent
#DED24A
background
#FCF7F6
surface
#F9EDEB
border
#D2C8C6
text
#140807
muted
#827B7A