#9F2240#9F2240
#9F2240 is a mid, vivid red. Relative luminance 0.089; OKLCH L 46.7% C 0.160 H 12.8°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2240 |
|---|---|
| RGB | rgb(159, 34, 64) |
| HSL | hsl(346, 65%, 38%) |
| HSV | hsv(346, 79%, 62%) |
| CMYK | cmyk(0%, 78.6%, 59.7%, 37.6%) |
| CIE-LAB | lab(35.77, 51.77, 14.29) |
| CIE-LCH | lch(35.77, 53.71, 15.43°) |
| OKLab | oklab(46.67% 0.1561 0.0354) |
| OKLCH | oklch(46.67% 0.16 12.8) |
| XYZ | xyz(15.7971, 8.8875, 5.7331) |
| Luminance | 0.0888 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 2.83
Rouge
#AB1239
ΔE00 3.21
Raspberry (survey)
#B00149
ΔE00 4.17
Purplish Red
#B0054B
ΔE00 4.44
Red Wine
#8C0034
ΔE00 5.54
Purple Red
#990147
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2240 #229F81
analogous
#9F227E #9F2240 #9F4222
triadic
#9F2240 #409F22 #22409F
tetradic
#9F2240 #7E9F22 #229F81 #42229F
square
#9F2240 #7E9F22 #229F81 #42229F
split-complementary
#9F2240 #229F42 #227E9F
monochromatic
#3A0C17 #6D172C #9F2240 #D12D54 #DD5F7D
Accessibility & contrast
On white
7.56
#9F2240 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#9F2240 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2240
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2240 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2240 | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454440
Deuteranopia (green-blind)
#655D3D
Tritanopia (blue-blind)
#AE002F
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9f2240; /* rgb */ color: rgb(159, 34, 64); /* oklch */ color: oklch(46.7% 0.160 12.8);
Tailwind
colors: {
custom: {
50: '#c26a74',
500: '#9f2240',
950: '#000000',
},
}SCSS
$custom: #9f2240; $custom-light: #c26a74; $custom-dark: #000000;
JSON
{
"hex": "#9f2240",
"rgb": {
"r": 159,
"g": 34,
"b": 64
},
"hsl": {
"h": 345.6,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.46665,
"c": 0.1601,
"h": 12.8
},
"luminance": 0.08885
}Semantic roles & 50–950 ramp
primary
#9F2240
secondary
#5BC1A9
accent
#E8C040
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B