#9C2283#9C2283
#9C2283 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.7% C 0.186 H 337.9°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2283 |
|---|---|
| RGB | rgb(156, 34, 131) |
| HSL | hsl(312, 64%, 37%) |
| HSV | hsv(312, 78%, 61%) |
| CMYK | cmyk(0%, 78.2%, 16%, 38.8%) |
| CIE-LAB | lab(37.58, 58.20, -25.70) |
| CIE-LCH | lch(37.58, 63.62, 336.18°) |
| OKLab | oklab(48.66% 0.1724 -0.0698) |
| OKLCH | oklch(48.66% 0.186 337.9) |
| XYZ | xyz(18.3795, 9.8524, 22.4021) |
| Luminance | 0.0985 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.29
Barney Purple
#A00498
ΔE00 4.55
Red Violet
#9E0168
ΔE00 5.97
Darkmagenta
#8B008B
ΔE00 6.25
Light Eggplant
#894585
ΔE00 6.71
Ugly Purple
#A442A0
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2283 #229C3B
analogous
#78229C #9C2283 #9C2246
triadic
#9C2283 #839C22 #22839C
tetradic
#9C2283 #9C7822 #229C3B #22469C
square
#9C2283 #9C7822 #229C3B #22469C
split-complementary
#9C2283 #469C22 #229C78
monochromatic
#380C2F #6A1759 #9C2283 #CE2DAD #DC5DC2
Accessibility & contrast
On white
7.07
#9C2283 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#9C2283 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C2283
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2283 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2283 | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284C86
Deuteranopia (green-blind)
#525F80
Tritanopia (blue-blind)
#A52951
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9c2283; /* rgb */ color: rgb(156, 34, 131); /* oklch */ color: oklch(48.7% 0.186 337.9);
Tailwind
colors: {
custom: {
50: '#bd6ba7',
500: '#9c2283',
950: '#000000',
},
}SCSS
$custom: #9c2283; $custom-light: #bd6ba7; $custom-dark: #000000;
JSON
{
"hex": "#9c2283",
"rgb": {
"r": 156,
"g": 34,
"b": 131
},
"hsl": {
"h": 312.295,
"s": 64.211,
"l": 37.255
},
"oklch": {
"l": 0.48657,
"c": 0.18595,
"h": 337.9
},
"luminance": 0.09851
}Semantic roles & 50–950 ramp
primary
#9C2283
secondary
#5AC06F
accent
#E76341
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F