#9F2140#9F2140
#9F2140 is a mid, vivid red. Relative luminance 0.088; OKLCH L 46.6% C 0.161 H 12.6°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2140 |
|---|---|
| RGB | rgb(159, 33, 64) |
| HSL | hsl(345, 66%, 38%) |
| HSV | hsv(345, 79%, 62%) |
| CMYK | cmyk(0%, 79.2%, 59.7%, 37.6%) |
| CIE-LAB | lab(35.66, 52.08, 14.14) |
| CIE-LCH | lch(35.66, 53.97, 15.19°) |
| OKLab | oklab(46.58% 0.1571 0.035) |
| OKLCH | oklch(46.58% 0.161 12.6) |
| XYZ | xyz(15.7689, 8.8311, 5.7237) |
| Luminance | 0.0883 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 2.69
Rouge
#AB1239
ΔE00 3.27
Raspberry (survey)
#B00149
ΔE00 4.07
Purplish Red
#B0054B
ΔE00 4.34
Red Wine
#8C0034
ΔE00 5.43
Purple Red
#990147
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2140 #219F80
analogous
#9F217F #9F2140 #9F4121
triadic
#9F2140 #409F21 #21409F
tetradic
#9F2140 #7F9F21 #219F80 #41219F
square
#9F2140 #7F9F21 #219F80 #41219F
split-complementary
#9F2140 #219F41 #217F9F
monochromatic
#3A0C17 #6C162C #9F2140 #D22C54 #DD5D7D
Accessibility & contrast
On white
7.59
#9F2140 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#9F2140 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2140
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2140 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2140 | 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)
#444340
Deuteranopia (green-blind)
#645D3D
Tritanopia (blue-blind)
#AE002E
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9f2140; /* rgb */ color: rgb(159, 33, 64); /* oklch */ color: oklch(46.6% 0.161 12.6);
Tailwind
colors: {
custom: {
50: '#c26974',
500: '#9f2140',
950: '#000000',
},
}SCSS
$custom: #9f2140; $custom-light: #c26974; $custom-dark: #000000;
JSON
{
"hex": "#9f2140",
"rgb": {
"r": 159,
"g": 33,
"b": 64
},
"hsl": {
"h": 345.238,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.46584,
"c": 0.16099,
"h": 12.6
},
"luminance": 0.08829
}Semantic roles & 50–950 ramp
primary
#9F2140
secondary
#5AC2A8
accent
#E9BF3F
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B