#9B277E#9B277E
#9B277E is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.6% C 0.177 H 340.0°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #9B277E |
|---|---|
| RGB | rgb(155, 39, 126) |
| HSL | hsl(315, 60%, 38%) |
| HSV | hsv(315, 75%, 61%) |
| CMYK | cmyk(0%, 74.8%, 18.7%, 39.2%) |
| CIE-LAB | lab(37.71, 55.66, -22.40) |
| CIE-LCH | lch(37.71, 60.00, 338.08°) |
| OKLab | oklab(48.64% 0.166 -0.0605) |
| OKLCH | oklch(48.64% 0.177 340) |
| XYZ | xyz(18.0095, 9.9277, 20.7024) |
| Luminance | 0.0993 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.17
Red Violet
#9E0168
ΔE00 5.24
Barney Purple
#A00498
ΔE00 5.85
Light Eggplant
#894585
ΔE00 6.40
Bruise
#7E4071
ΔE00 7.26
Darkmagenta
#8B008B
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B277E #279B44
analogous
#7E279B #9B277E #9B2744
triadic
#9B277E #7E9B27 #277E9B
tetradic
#9B277E #9B7E27 #279B44 #27449B
square
#9B277E #9B7E27 #279B44 #27449B
split-complementary
#9B277E #449B27 #279B7E
monochromatic
#390E2F #6A1B56 #9B277E #CC33A6 #D864BB
Accessibility & contrast
On white
7.03
#9B277E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#9B277E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B277E
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B277E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B277E | 1.00 | 7.03 | 2.99 | 7.03 |
| #FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4D80
Deuteranopia (green-blind)
#555F7B
Tritanopia (blue-blind)
#A42B4F
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #9b277e; /* rgb */ color: rgb(155, 39, 126); /* oklch */ color: oklch(48.6% 0.177 340.0);
Tailwind
colors: {
custom: {
50: '#bc6da3',
500: '#9b277e',
950: '#000000',
},
}SCSS
$custom: #9b277e; $custom-light: #bc6da3; $custom-dark: #000000;
JSON
{
"hex": "#9b277e",
"rgb": {
"r": 155,
"g": 39,
"b": 126
},
"hsl": {
"h": 315,
"s": 59.794,
"l": 38.039
},
"oklch": {
"l": 0.48644,
"c": 0.17665,
"h": 340
},
"luminance": 0.09926
}Semantic roles & 50–950 ramp
primary
#9B277E
secondary
#60BE77
accent
#E36C45
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12080F
muted
#817B7F