#9F1945#9F1945
#9F1945 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.168 H 8.7°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1945 |
|---|---|
| RGB | rgb(159, 25, 69) |
| HSL | hsl(340, 73%, 36%) |
| HSV | hsv(340, 84%, 62%) |
| CMYK | cmyk(0%, 84.3%, 56.6%, 37.6%) |
| CIE-LAB | lab(35.00, 54.64, 10.00) |
| CIE-LCH | lch(35.00, 55.55, 10.37°) |
| OKLab | oklab(46.14% 0.1662 0.0253) |
| OKLCH | oklch(46.14% 0.168 8.7) |
| XYZ | xyz(15.7214, 8.4982, 6.4416) |
| Luminance | 0.0850 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.73
Raspberry (survey)
#B00149
ΔE00 3.02
Purplish Red
#B0054B
ΔE00 3.09
Purple Red
#990147
ΔE00 3.52
Berry
#990F4B
ΔE00 3.67
Red Wine
#8C0034
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1945 #199F73
analogous
#9F1988 #9F1945 #9F3019
triadic
#9F1945 #459F19 #19459F
tetradic
#9F1945 #889F19 #199F73 #30199F
square
#9F1945 #889F19 #199F73 #30199F
split-complementary
#9F1945 #199F30 #19889F
monochromatic
#350817 #6A112E #9F1945 #D4215C #E34F80
Accessibility & contrast
On white
7.78
#9F1945 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#9F1945 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1945
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1945 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1945 | 1.00 | 7.78 | 2.70 | 7.78 |
| #FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404146
Deuteranopia (green-blind)
#625C42
Tritanopia (blue-blind)
#AE002D
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f1945; /* rgb */ color: rgb(159, 25, 69); /* oklch */ color: oklch(46.1% 0.168 8.7);
Tailwind
colors: {
custom: {
50: '#c26778',
500: '#9f1945',
950: '#000000',
},
}SCSS
$custom: #9f1945; $custom-light: #c26778; $custom-dark: #000000;
JSON
{
"hex": "#9f1945",
"rgb": {
"r": 159,
"g": 25,
"b": 69
},
"hsl": {
"h": 340.299,
"s": 72.826,
"l": 36.078
},
"oklch": {
"l": 0.46138,
"c": 0.16816,
"h": 8.7
},
"luminance": 0.08496
}Semantic roles & 50–950 ramp
primary
#9F1945
secondary
#4EC69E
accent
#F0B338
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B