#9F187C#9F187C
#9F187C is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.2% C 0.192 H 341.7°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #9F187C |
|---|---|
| RGB | rgb(159, 24, 124) |
| HSL | hsl(316, 74%, 36%) |
| HSV | hsv(316, 85%, 62%) |
| CMYK | cmyk(0%, 84.9%, 22%, 37.6%) |
| CIE-LAB | lab(36.90, 60.53, -22.36) |
| CIE-LCH | lch(36.90, 64.53, 339.72°) |
| OKLab | oklab(48.16% 0.1822 -0.0602) |
| OKLCH | oklch(48.16% 0.192 341.7) |
| XYZ | xyz(18.2635, 9.4814, 19.9332) |
| Luminance | 0.0948 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.25
Warm Purple
#952E8F
ΔE00 5.07
Barney Purple
#A00498
ΔE00 5.75
Darkmagenta
#8B008B
ΔE00 7.11
Deep Magenta
#A0025C
ΔE00 7.29
Magenta (survey)
#C20078
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F187C #189F3B
analogous
#7E189F #9F187C #9F1838
triadic
#9F187C #7C9F18 #187C9F
tetradic
#9F187C #9F7E18 #189F3B #18389F
square
#9F187C #9F7E18 #189F3B #18389F
split-complementary
#9F187C #389F18 #189F7E
monochromatic
#350829 #6A1053 #9F187C #D420A5 #E44DBD
Accessibility & contrast
On white
7.25
#9F187C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#9F187C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F187C
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F187C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F187C | 1.00 | 7.25 | 2.90 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28497E
Deuteranopia (green-blind)
#545E79
Tritanopia (blue-blind)
#A91B4A
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9f187c; /* rgb */ color: rgb(159, 24, 124); /* oklch */ color: oklch(48.2% 0.192 341.7);
Tailwind
colors: {
custom: {
50: '#c068a2',
500: '#9f187c',
950: '#000000',
},
}SCSS
$custom: #9f187c; $custom-light: #c068a2; $custom-dark: #000000;
JSON
{
"hex": "#9f187c",
"rgb": {
"r": 159,
"g": 24,
"b": 124
},
"hsl": {
"h": 315.556,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.4816,
"c": 0.19191,
"h": 341.7
},
"luminance": 0.09479
}Semantic roles & 50–950 ramp
primary
#9F187C
secondary
#4DC66C
accent
#F06737
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F