#9D307F#9D307F
#9D307F is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.9% C 0.168 H 340.7°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #9D307F |
|---|---|
| RGB | rgb(157, 48, 127) |
| HSL | hsl(317, 53%, 40%) |
| HSV | hsv(317, 69%, 62%) |
| CMYK | cmyk(0%, 69.4%, 19.1%, 38.4%) |
| CIE-LAB | lab(39.27, 53.06, -20.58) |
| CIE-LCH | lch(39.27, 56.91, 338.80°) |
| OKLab | oklab(49.86% 0.1582 -0.0554) |
| OKLCH | oklch(49.86% 0.168 340.7) |
| XYZ | xyz(18.7928, 10.8161, 21.1725) |
| Luminance | 0.1081 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.69
Light Eggplant
#894585
ΔE00 5.72
Red Violet
#9E0168
ΔE00 5.92
Barney Purple
#A00498
ΔE00 6.84
Bruise
#7E4071
ΔE00 6.86
Ugly Purple
#A442A0
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D307F #309D4E
analogous
#85309D #9D307F #9D3048
triadic
#9D307F #7F9D30 #307F9D
tetradic
#9D307F #9D8530 #309D4E #30489D
square
#9D307F #9D8530 #309D4E #30489D
split-complementary
#9D307F #489D30 #309D85
monochromatic
#3F1333 #6E2259 #9D307F #C644A2 #D473BA
Accessibility & contrast
On white
6.64
#9D307F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#9D307F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D307F
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D307F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D307F | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#385181
Deuteranopia (green-blind)
#59637C
Tritanopia (blue-blind)
#A63253
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9d307f; /* rgb */ color: rgb(157, 48, 127); /* oklch */ color: oklch(49.9% 0.168 340.7);
Tailwind
colors: {
custom: {
50: '#bd71a4',
500: '#9d307f',
950: '#000000',
},
}SCSS
$custom: #9d307f; $custom-light: #bd71a4; $custom-dark: #000000;
JSON
{
"hex": "#9d307f",
"rgb": {
"r": 157,
"g": 48,
"b": 127
},
"hsl": {
"h": 316.514,
"s": 53.171,
"l": 40.196
},
"oklch": {
"l": 0.49856,
"c": 0.16764,
"h": 340.7
},
"luminance": 0.10814
}Semantic roles & 50–950 ramp
primary
#9D307F
secondary
#6DBC83
accent
#DD734B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F