#9F2142#9F2142
#9F2142 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.6% C 0.161 H 11.5°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2142 |
|---|---|
| RGB | rgb(159, 33, 66) |
| HSL | hsl(344, 66%, 38%) |
| HSV | hsv(344, 79%, 62%) |
| CMYK | cmyk(0%, 79.2%, 58.5%, 37.6%) |
| CIE-LAB | lab(35.70, 52.22, 12.91) |
| CIE-LCH | lch(35.70, 53.80, 13.89°) |
| OKLab | oklab(46.63% 0.1579 0.0322) |
| OKLCH | oklch(46.63% 0.161 11.5) |
| XYZ | xyz(15.8269, 8.8543, 6.0289) |
| Luminance | 0.0885 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.70
Raspberry (survey)
#B00149
ΔE00 3.68
Rouge
#AB1239
ΔE00 3.79
Purplish Red
#B0054B
ΔE00 3.90
Purple Red
#990147
ΔE00 5.35
Red Wine
#8C0034
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2142 #219F7E
analogous
#9F2181 #9F2142 #9F3F21
triadic
#9F2142 #429F21 #21429F
tetradic
#9F2142 #819F21 #219F7E #3F219F
square
#9F2142 #819F21 #219F7E #3F219F
split-complementary
#9F2142 #219F3F #21819F
monochromatic
#3A0C18 #6C162D #9F2142 #D22C57 #DD5D7F
Accessibility & contrast
On white
7.58
#9F2142 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#9F2142 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2142
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2142 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2142 | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444442
Deuteranopia (green-blind)
#645D3F
Tritanopia (blue-blind)
#AE002F
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9f2142; /* rgb */ color: rgb(159, 33, 66); /* oklch */ color: oklch(46.6% 0.161 11.5);
Tailwind
colors: {
custom: {
50: '#c26976',
500: '#9f2142',
950: '#000000',
},
}SCSS
$custom: #9f2142; $custom-light: #c26976; $custom-dark: #000000;
JSON
{
"hex": "#9f2142",
"rgb": {
"r": 159,
"g": 33,
"b": 66
},
"hsl": {
"h": 344.286,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.46632,
"c": 0.16119,
"h": 11.5
},
"luminance": 0.08852
}Semantic roles & 50–950 ramp
primary
#9F2142
secondary
#5AC2A7
accent
#E9BC3F
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B