#9F2845#9F2845
#9F2845 is a mid, vivid red. Relative luminance 0.093; OKLCH L 47.3% C 0.155 H 11.4°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2845 |
|---|---|
| RGB | rgb(159, 40, 69) |
| HSL | hsl(345, 60%, 39%) |
| HSV | hsv(345, 75%, 62%) |
| CMYK | cmyk(0%, 74.8%, 56.6%, 37.6%) |
| CIE-LAB | lab(36.59, 50.14, 12.20) |
| CIE-LCH | lch(36.59, 51.60, 13.68°) |
| OKLab | oklab(47.31% 0.1517 0.0306) |
| OKLCH | oklch(47.31% 0.155 11.4) |
| XYZ | xyz(16.1326, 9.3205, 6.5786) |
| Luminance | 0.0932 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 3.69
Raspberry (survey)
#B00149
ΔE00 3.94
Purplish Red
#B0054B
ΔE00 4.08
Rouge
#AB1239
ΔE00 4.18
Berry
#990F4B
ΔE00 5.80
Purple Red
#990147
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2845 #289F82
analogous
#9F2881 #9F2845 #9F4728
triadic
#9F2845 #459F28 #28459F
tetradic
#9F2845 #819F28 #289F82 #47289F
square
#9F2845 #819F28 #289F82 #47289F
split-complementary
#9F2845 #289F47 #28819F
monochromatic
#3D0F1B #6E1C30 #9F2845 #CD375C #D96884
Accessibility & contrast
On white
7.33
#9F2845 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#9F2845 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2845
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2845 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2845 | 1.00 | 7.33 | 2.86 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474745
Deuteranopia (green-blind)
#665F42
Tritanopia (blue-blind)
#AE0434
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9f2845; /* rgb */ color: rgb(159, 40, 69); /* oklch */ color: oklch(47.3% 0.155 11.4);
Tailwind
colors: {
custom: {
50: '#c26c78',
500: '#9f2845',
950: '#000000',
},
}SCSS
$custom: #9f2845; $custom-light: #c26c78; $custom-dark: #000000;
JSON
{
"hex": "#9f2845",
"rgb": {
"r": 159,
"g": 40,
"b": 69
},
"hsl": {
"h": 345.378,
"s": 59.799,
"l": 39.02
},
"oklch": {
"l": 0.47314,
"c": 0.15477,
"h": 11.4
},
"luminance": 0.09318
}Semantic roles & 50–950 ramp
primary
#9F2845
secondary
#64BFA9
accent
#E3BC45
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B