#9C286A#9C286A
#9C286A is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.0% C 0.164 H 350.2°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #9C286A |
|---|---|
| RGB | rgb(156, 40, 106) |
| HSL | hsl(326, 59%, 38%) |
| HSV | hsv(326, 74%, 61%) |
| CMYK | cmyk(0%, 74.4%, 32.1%, 38.8%) |
| CIE-LAB | lab(37.17, 52.94, -10.68) |
| CIE-LCH | lch(37.17, 54.01, 348.59°) |
| OKLab | oklab(48% 0.1618 -0.0278) |
| OKLCH | oklch(48% 0.164 350.2) |
| XYZ | xyz(17.0715, 9.6281, 14.5923) |
| Luminance | 0.0963 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.28
Deep Magenta
#A0025C
ΔE00 4.00
Dark Fuchsia
#9D0759
ΔE00 4.34
Dark Magenta
#960056
ΔE00 5.05
Reddish Purple
#910951
ΔE00 5.86
Violet Red
#A50055
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C286A #289C5A
analogous
#94289C #9C286A #9C2830
triadic
#9C286A #6A9C28 #286A9C
tetradic
#9C286A #9C9428 #289C5A #28309C
square
#9C286A #9C9428 #289C5A #28309C
split-complementary
#9C286A #309C28 #289C94
monochromatic
#3B0F28 #6B1C49 #9C286A #CB368B #D867A7
Accessibility & contrast
On white
7.18
#9C286A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#9C286A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C286A
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C286A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C286A | 1.00 | 7.18 | 2.93 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B4A6C
Deuteranopia (green-blind)
#5C5F67
Tritanopia (blue-blind)
#A82145
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9c286a; /* rgb */ color: rgb(156, 40, 106); /* oklch */ color: oklch(48.0% 0.164 350.2);
Tailwind
colors: {
custom: {
50: '#bd6d94',
500: '#9c286a',
950: '#000000',
},
}SCSS
$custom: #9c286a; $custom-light: #bd6d94; $custom-dark: #000000;
JSON
{
"hex": "#9c286a",
"rgb": {
"r": 156,
"g": 40,
"b": 106
},
"hsl": {
"h": 325.862,
"s": 59.184,
"l": 38.431
},
"oklch": {
"l": 0.48003,
"c": 0.16414,
"h": 350.2
},
"luminance": 0.09626
}Semantic roles & 50–950 ramp
primary
#9C286A
secondary
#62BE8A
accent
#E28945
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13080D
muted
#827A7E