#9F378C#9F378C
#9F378C is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.5% C 0.169 H 335.7°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #9F378C |
|---|---|
| RGB | rgb(159, 55, 140) |
| HSL | hsl(311, 49%, 42%) |
| HSV | hsv(311, 65%, 62%) |
| CMYK | cmyk(0%, 65.4%, 11.9%, 37.6%) |
| CIE-LAB | lab(41.21, 52.75, -25.51) |
| CIE-LCH | lch(41.21, 58.59, 334.19°) |
| OKLab | oklab(51.53% 0.154 -0.0694) |
| OKLCH | oklch(51.53% 0.169 335.7) |
| XYZ | xyz(20.3981, 11.9984, 26.0475) |
| Luminance | 0.1200 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.50
Ugly Purple
#A442A0
ΔE00 4.25
Medium Purple
#9E43A2
ΔE00 4.82
Light Eggplant
#894585
ΔE00 4.87
Barney Purple
#A00498
ΔE00 6.06
Purpleish
#98568D
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F378C #379F4A
analogous
#7E379F #9F378C #9F3758
triadic
#9F378C #8C9F37 #378C9F
tetradic
#9F378C #9F7E37 #379F4A #37589F
square
#9F378C #9F7E37 #379F4A #37589F
split-complementary
#9F378C #589F37 #379F7E
monochromatic
#44183C #722764 #9F378C #C351AE #D27EC3
Accessibility & contrast
On white
6.18
#9F378C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#9F378C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F378C
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F378C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F378C | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#38578F
Deuteranopia (green-blind)
#596789
Tritanopia (blue-blind)
#A73D5C
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #9f378c; /* rgb */ color: rgb(159, 55, 140); /* oklch */ color: oklch(51.5% 0.169 335.7);
Tailwind
colors: {
custom: {
50: '#be75ae',
500: '#9f378c',
950: '#000000',
},
}SCSS
$custom: #9f378c; $custom-light: #be75ae; $custom-dark: #000000;
JSON
{
"hex": "#9f378c",
"rgb": {
"r": 159,
"g": 55,
"b": 140
},
"hsl": {
"h": 310.962,
"s": 48.598,
"l": 41.961
},
"oklch": {
"l": 0.51532,
"c": 0.16888,
"h": 335.7
},
"luminance": 0.11997
}Semantic roles & 50–950 ramp
primary
#9F378C
secondary
#76BC83
accent
#D86950
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120910
muted
#817B7F