#9F154C#9F154C
#9F154C is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.1% C 0.172 H 4.6°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #9F154C |
|---|---|
| RGB | rgb(159, 21, 76) |
| HSL | hsl(336, 77%, 35%) |
| HSV | hsv(336, 87%, 62%) |
| CMYK | cmyk(0%, 86.8%, 52.2%, 37.6%) |
| CIE-LAB | lab(34.87, 56.09, 5.25) |
| CIE-LCH | lch(34.87, 56.34, 5.35°) |
| OKLab | oklab(46.1% 0.1719 0.0139) |
| OKLCH | oklch(46.1% 0.172 4.6) |
| XYZ | xyz(15.8722, 8.4314, 7.6277) |
| Luminance | 0.0843 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.65
Purple Red
#990147
ΔE00 2.06
Violet Red
#A50055
ΔE00 2.87
Purplish Red
#B0054B
ΔE00 3.57
Raspberry (survey)
#B00149
ΔE00 3.79
Mulberry
#920A4E
ΔE00 4.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F154C #159F68
analogous
#9F1591 #9F154C #9F2315
triadic
#9F154C #4C9F15 #154C9F
tetradic
#9F154C #919F15 #159F68 #23159F
square
#9F154C #919F15 #159F68 #23159F
split-complementary
#9F154C #159F23 #15919F
monochromatic
#330718 #690E32 #9F154C #D51C66 #E74887
Accessibility & contrast
On white
7.82
#9F154C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#9F154C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F154C
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F154C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F154C | 1.00 | 7.82 | 2.69 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C414D
Deuteranopia (green-blind)
#605B49
Tritanopia (blue-blind)
#AE002F
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f154c; /* rgb */ color: rgb(159, 21, 76); /* oklch */ color: oklch(46.1% 0.172 4.6);
Tailwind
colors: {
custom: {
50: '#c2667d',
500: '#9f154c',
950: '#000000',
},
}SCSS
$custom: #9f154c; $custom-light: #c2667d; $custom-dark: #000000;
JSON
{
"hex": "#9f154c",
"rgb": {
"r": 159,
"g": 21,
"b": 76
},
"hsl": {
"h": 336.087,
"s": 76.667,
"l": 35.294
},
"oklch": {
"l": 0.461,
"c": 0.17243,
"h": 4.6
},
"luminance": 0.08429
}Semantic roles & 50–950 ramp
primary
#9F154C
secondary
#48C895
accent
#F3A735
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#140709
muted
#827A7B