#9C267A#9C267A
#9C267A is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.5% C 0.176 H 342.1°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #9C267A |
|---|---|
| RGB | rgb(156, 38, 122) |
| HSL | hsl(317, 61%, 38%) |
| HSV | hsv(317, 76%, 61%) |
| CMYK | cmyk(0%, 75.6%, 21.8%, 38.8%) |
| CIE-LAB | lab(37.59, 55.69, -20.08) |
| CIE-LCH | lch(37.59, 59.20, 340.17°) |
| OKLab | oklab(48.53% 0.1673 -0.0539) |
| OKLCH | oklch(48.53% 0.176 342.1) |
| XYZ | xyz(17.9169, 9.8611, 19.3684) |
| Luminance | 0.0986 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.42
Warm Purple
#952E8F
ΔE00 5.15
Barney Purple
#A00498
ΔE00 6.69
Light Eggplant
#894585
ΔE00 6.89
Deep Magenta
#A0025C
ΔE00 7.11
Bruise
#7E4071
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C267A #269C48
analogous
#83269C #9C267A #9C263F
triadic
#9C267A #7A9C26 #267A9C
tetradic
#9C267A #9C8326 #269C48 #263F9C
square
#9C267A #9C8326 #269C48 #263F9C
split-complementary
#9C267A #3F9C26 #269C83
monochromatic
#3A0E2D #6B1A54 #9C267A #CD32A0 #D963B7
Accessibility & contrast
On white
7.07
#9C267A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#9C267A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C267A
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C267A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C267A | 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)
#314C7C
Deuteranopia (green-blind)
#575F77
Tritanopia (blue-blind)
#A6274D
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9c267a; /* rgb */ color: rgb(156, 38, 122); /* oklch */ color: oklch(48.5% 0.176 342.1);
Tailwind
colors: {
custom: {
50: '#bd6da0',
500: '#9c267a',
950: '#000000',
},
}SCSS
$custom: #9c267a; $custom-light: #bd6da0; $custom-dark: #000000;
JSON
{
"hex": "#9c267a",
"rgb": {
"r": 156,
"g": 38,
"b": 122
},
"hsl": {
"h": 317.288,
"s": 60.825,
"l": 38.039
},
"oklch": {
"l": 0.4853,
"c": 0.17579,
"h": 342.1
},
"luminance": 0.09859
}Semantic roles & 50–950 ramp
primary
#9C267A
secondary
#5FBF7B
accent
#E47244
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E