#9C306E#9C306E
#9C306E is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.0% C 0.156 H 349.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9C306E |
|---|---|
| RGB | rgb(156, 48, 110) |
| HSL | hsl(326, 53%, 40%) |
| HSV | hsv(326, 69%, 61%) |
| CMYK | cmyk(0%, 69.2%, 29.5%, 38.8%) |
| CIE-LAB | lab(38.39, 50.45, -11.35) |
| CIE-LCH | lch(38.39, 51.71, 347.32°) |
| OKLab | oklab(48.95% 0.1535 -0.0297) |
| OKLCH | oklch(48.95% 0.156 349) |
| XYZ | xyz(17.5826, 10.3095, 15.8128) |
| Luminance | 0.1031 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.48
Deep Magenta
#A0025C
ΔE00 5.28
Dark Fuchsia
#9D0759
ΔE00 5.60
Dark Magenta
#960056
ΔE00 6.36
Magenta (survey)
#C20078
ΔE00 6.69
Violet Red
#A50055
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C306E #309C5E
analogous
#94309C #9C306E #9C3038
triadic
#9C306E #6E9C30 #306E9C
tetradic
#9C306E #9C9430 #309C5E #30389C
square
#9C306E #9C9430 #309C5E #30389C
split-complementary
#9C306E #389C30 #309C94
monochromatic
#3E132C #6D224D #9C306E #C5448E #D473AA
Accessibility & contrast
On white
6.86
#9C306E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#9C306E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C306E
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C306E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C306E | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4E70
Deuteranopia (green-blind)
#5E616B
Tritanopia (blue-blind)
#A72B4A
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #9c306e; /* rgb */ color: rgb(156, 48, 110); /* oklch */ color: oklch(49.0% 0.156 349.0);
Tailwind
colors: {
custom: {
50: '#bd7197',
500: '#9c306e',
950: '#000000',
},
}SCSS
$custom: #9c306e; $custom-light: #bd7197; $custom-dark: #000000;
JSON
{
"hex": "#9c306e",
"rgb": {
"r": 156,
"g": 48,
"b": 110
},
"hsl": {
"h": 325.556,
"s": 52.941,
"l": 40
},
"oklch": {
"l": 0.48951,
"c": 0.15631,
"h": 349
},
"luminance": 0.10308
}Semantic roles & 50–950 ramp
primary
#9C306E
secondary
#6CBC8E
accent
#DC894B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080D
muted
#817B7E