#9F2145#9F2145
#9F2145 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.7% C 0.162 H 10.0°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2145 |
|---|---|
| RGB | rgb(159, 33, 69) |
| HSL | hsl(343, 66%, 38%) |
| HSV | hsv(343, 79%, 62%) |
| CMYK | cmyk(0%, 79.2%, 56.6%, 37.6%) |
| CIE-LAB | lab(35.77, 52.44, 11.07) |
| CIE-LCH | lch(35.77, 53.60, 11.92°) |
| OKLab | oklab(46.71% 0.1591 0.0279) |
| OKLCH | oklch(46.71% 0.162 10) |
| XYZ | xyz(15.9177, 8.8906, 6.5070) |
| Luminance | 0.0889 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 3.00
Raspberry (survey)
#B00149
ΔE00 3.27
Purplish Red
#B0054B
ΔE00 3.39
Purple Red
#990147
ΔE00 4.59
Rouge
#AB1239
ΔE00 4.63
Berry
#990F4B
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2145 #219F7B
analogous
#9F2184 #9F2145 #9F3C21
triadic
#9F2145 #459F21 #21459F
tetradic
#9F2145 #849F21 #219F7B #3C219F
square
#9F2145 #849F21 #219F7B #3C219F
split-complementary
#9F2145 #219F3C #21849F
monochromatic
#3A0C19 #6C162F #9F2145 #D22C5B #DD5D82
Accessibility & contrast
On white
7.56
#9F2145 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#9F2145 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F2145
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2145 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2145 | 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)
#434446
Deuteranopia (green-blind)
#645D42
Tritanopia (blue-blind)
#AE0031
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9f2145; /* rgb */ color: rgb(159, 33, 69); /* oklch */ color: oklch(46.7% 0.162 10.0);
Tailwind
colors: {
custom: {
50: '#c26978',
500: '#9f2145',
950: '#000000',
},
}SCSS
$custom: #9f2145; $custom-light: #c26978; $custom-dark: #000000;
JSON
{
"hex": "#9f2145",
"rgb": {
"r": 159,
"g": 33,
"b": 69
},
"hsl": {
"h": 342.857,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.46707,
"c": 0.16156,
"h": 10
},
"luminance": 0.08888
}Semantic roles & 50–950 ramp
primary
#9F2145
secondary
#5AC2A4
accent
#E9B83F
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B