#9B266B#9B266B
#9B266B is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.166 H 349.2°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #9B266B |
|---|---|
| RGB | rgb(155, 38, 107) |
| HSL | hsl(325, 61%, 38%) |
| HSV | hsv(325, 75%, 61%) |
| CMYK | cmyk(0%, 75.5%, 31%, 39.2%) |
| CIE-LAB | lab(36.78, 53.48, -11.92) |
| CIE-LCH | lch(36.78, 54.79, 347.43°) |
| OKLab | oklab(47.7% 0.1633 -0.0312) |
| OKLCH | oklch(47.7% 0.166 349.2) |
| XYZ | xyz(16.8654, 9.4183, 14.8368) |
| Luminance | 0.0942 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.88
Deep Magenta
#A0025C
ΔE00 4.14
Dark Fuchsia
#9D0759
ΔE00 4.51
Dark Magenta
#960056
ΔE00 5.05
Reddish Purple
#910951
ΔE00 5.92
Violet Red
#A50055
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B266B #269B56
analogous
#90269B #9B266B #9B2631
triadic
#9B266B #6B9B26 #266B9B
tetradic
#9B266B #9B9026 #269B56 #26319B
square
#9B266B #9B9026 #269B56 #26319B
split-complementary
#9B266B #319B26 #269B90
monochromatic
#390E27 #6A1A49 #9B266B #CC328D #D963A8
Accessibility & contrast
On white
7.28
#9B266B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#9B266B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B266B
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B266B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B266B | 1.00 | 7.28 | 2.88 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#38496D
Deuteranopia (green-blind)
#5B5E68
Tritanopia (blue-blind)
#A61F45
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9b266b; /* rgb */ color: rgb(155, 38, 107); /* oklch */ color: oklch(47.7% 0.166 349.2);
Tailwind
colors: {
custom: {
50: '#bd6c95',
500: '#9b266b',
950: '#000000',
},
}SCSS
$custom: #9b266b; $custom-light: #bd6c95; $custom-dark: #000000;
JSON
{
"hex": "#9b266b",
"rgb": {
"r": 155,
"g": 38,
"b": 107
},
"hsl": {
"h": 324.615,
"s": 60.622,
"l": 37.843
},
"oklch": {
"l": 0.47697,
"c": 0.16621,
"h": 349.2
},
"luminance": 0.09416
}Semantic roles & 50–950 ramp
primary
#9B266B
secondary
#5FBE86
accent
#E48644
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E