#9C267B#9C267B
#9C267B is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.6% C 0.176 H 341.7°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #9C267B |
|---|---|
| RGB | rgb(156, 38, 123) |
| HSL | hsl(317, 61%, 38%) |
| HSV | hsv(317, 76%, 61%) |
| CMYK | cmyk(0%, 75.6%, 21.2%, 38.8%) |
| CIE-LAB | lab(37.64, 55.83, -20.63) |
| CIE-LCH | lch(37.64, 59.52, 339.72°) |
| OKLab | oklab(48.58% 0.1675 -0.0555) |
| OKLCH | oklch(48.58% 0.176 341.7) |
| XYZ | xyz(17.9792, 9.8860, 19.6964) |
| Luminance | 0.0988 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.59
Warm Purple
#952E8F
ΔE00 4.93
Barney Purple
#A00498
ΔE00 6.48
Light Eggplant
#894585
ΔE00 6.80
Bruise
#7E4071
ΔE00 7.31
Deep Magenta
#A0025C
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C267B #269C47
analogous
#82269C #9C267B #9C2640
triadic
#9C267B #7B9C26 #267B9C
tetradic
#9C267B #9C8226 #269C47 #26409C
square
#9C267B #9C8226 #269C47 #26409C
split-complementary
#9C267B #409C26 #269C82
monochromatic
#3A0E2D #6B1A54 #9C267B #CD32A2 #D963B8
Accessibility & contrast
On white
7.05
#9C267B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#9C267B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C267B
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C267B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C267B | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314C7D
Deuteranopia (green-blind)
#565F78
Tritanopia (blue-blind)
#A6284D
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #9c267b; /* rgb */ color: rgb(156, 38, 123); /* oklch */ color: oklch(48.6% 0.176 341.7);
Tailwind
colors: {
custom: {
50: '#bd6da1',
500: '#9c267b',
950: '#000000',
},
}SCSS
$custom: #9c267b; $custom-light: #bd6da1; $custom-dark: #000000;
JSON
{
"hex": "#9c267b",
"rgb": {
"r": 156,
"g": 38,
"b": 123
},
"hsl": {
"h": 316.78,
"s": 60.825,
"l": 38.039
},
"oklch": {
"l": 0.48578,
"c": 0.17644,
"h": 341.7
},
"luminance": 0.09884
}Semantic roles & 50–950 ramp
primary
#9C267B
secondary
#5FBF7A
accent
#E47144
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080F
muted
#827A7E