#9C266B#9C266B
#9C266B is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.9% C 0.167 H 349.5°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #9C266B |
|---|---|
| RGB | rgb(156, 38, 107) |
| HSL | hsl(325, 61%, 38%) |
| HSV | hsv(325, 76%, 61%) |
| CMYK | cmyk(0%, 75.6%, 31.4%, 38.8%) |
| CIE-LAB | lab(36.96, 53.75, -11.62) |
| CIE-LCH | lch(36.96, 54.99, 347.80°) |
| OKLab | oklab(47.87% 0.1642 -0.0304) |
| OKLCH | oklch(47.87% 0.167 349.5) |
| XYZ | xyz(17.0582, 9.5176, 14.8458) |
| Luminance | 0.0952 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.94
Deep Magenta
#A0025C
ΔE00 4.06
Dark Fuchsia
#9D0759
ΔE00 4.44
Dark Magenta
#960056
ΔE00 5.06
Reddish Purple
#910951
ΔE00 5.93
Violet Red
#A50055
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C266B #269C57
analogous
#92269C #9C266B #9C2630
triadic
#9C266B #6B9C26 #266B9C
tetradic
#9C266B #9C9226 #269C57 #26309C
square
#9C266B #9C9226 #269C57 #26309C
split-complementary
#9C266B #309C26 #269C92
monochromatic
#3A0E27 #6B1A49 #9C266B #CD328D #D963A8
Accessibility & contrast
On white
7.23
#9C266B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#9C266B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C266B
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C266B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C266B | 1.00 | 7.23 | 2.90 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394A6D
Deuteranopia (green-blind)
#5B5E68
Tritanopia (blue-blind)
#A81F45
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9c266b; /* rgb */ color: rgb(156, 38, 107); /* oklch */ color: oklch(47.9% 0.167 349.5);
Tailwind
colors: {
custom: {
50: '#bd6c95',
500: '#9c266b',
950: '#000000',
},
}SCSS
$custom: #9c266b; $custom-light: #bd6c95; $custom-dark: #000000;
JSON
{
"hex": "#9c266b",
"rgb": {
"r": 156,
"g": 38,
"b": 107
},
"hsl": {
"h": 324.915,
"s": 60.825,
"l": 38.039
},
"oklch": {
"l": 0.47867,
"c": 0.16696,
"h": 349.5
},
"luminance": 0.09516
}Semantic roles & 50–950 ramp
primary
#9C266B
secondary
#5FBF87
accent
#E48644
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13080D
muted
#827A7E