#9D306E#9D306E
#9D306E is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.1% C 0.157 H 349.4°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9D306E |
|---|---|
| RGB | rgb(157, 48, 110) |
| HSL | hsl(326, 53%, 40%) |
| HSV | hsv(326, 69%, 62%) |
| CMYK | cmyk(0%, 69.4%, 29.9%, 38.4%) |
| CIE-LAB | lab(38.57, 50.73, -11.06) |
| CIE-LCH | lch(38.57, 51.93, 347.70°) |
| OKLab | oklab(49.11% 0.1544 -0.0289) |
| OKLCH | oklch(49.11% 0.157 349.4) |
| XYZ | xyz(17.7769, 10.4097, 15.8219) |
| Luminance | 0.1041 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.54
Deep Magenta
#A0025C
ΔE00 5.25
Dark Fuchsia
#9D0759
ΔE00 5.57
Dark Magenta
#960056
ΔE00 6.38
Magenta (survey)
#C20078
ΔE00 6.51
Violet Red
#A50055
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D306E #309D5F
analogous
#96309D #9D306E #9D3037
triadic
#9D306E #6E9D30 #306E9D
tetradic
#9D306E #9D9630 #309D5F #30379D
square
#9D306E #9D9630 #309D5F #30379D
split-complementary
#9D306E #379D30 #309D96
monochromatic
#3F132C #6E224D #9D306E #C6448E #D473AA
Accessibility & contrast
On white
6.81
#9D306E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#9D306E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D306E
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D306E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D306E | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404F70
Deuteranopia (green-blind)
#5F626B
Tritanopia (blue-blind)
#A82B4B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9d306e; /* rgb */ color: rgb(157, 48, 110); /* oklch */ color: oklch(49.1% 0.157 349.4);
Tailwind
colors: {
custom: {
50: '#be7197',
500: '#9d306e',
950: '#000000',
},
}SCSS
$custom: #9d306e; $custom-light: #be7197; $custom-dark: #000000;
JSON
{
"hex": "#9d306e",
"rgb": {
"r": 157,
"g": 48,
"b": 110
},
"hsl": {
"h": 325.872,
"s": 53.171,
"l": 40.196
},
"oklch": {
"l": 0.49113,
"c": 0.15713,
"h": 349.4
},
"luminance": 0.10408
}Semantic roles & 50–950 ramp
primary
#9D306E
secondary
#6DBC8F
accent
#DD8A4B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E