#9B277A#9B277A
#9B277A is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.5% C 0.174 H 341.8°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #9B277A |
|---|---|
| RGB | rgb(155, 39, 122) |
| HSL | hsl(317, 60%, 38%) |
| HSV | hsv(317, 75%, 61%) |
| CMYK | cmyk(0%, 74.8%, 21.3%, 39.2%) |
| CIE-LAB | lab(37.53, 55.10, -20.19) |
| CIE-LCH | lch(37.53, 58.68, 339.88°) |
| OKLab | oklab(48.45% 0.1653 -0.0542) |
| OKLCH | oklch(48.45% 0.174 341.8) |
| XYZ | xyz(17.7565, 9.8265, 19.3702) |
| Luminance | 0.0983 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.52
Warm Purple
#952E8F
ΔE00 5.05
Barney Purple
#A00498
ΔE00 6.68
Light Eggplant
#894585
ΔE00 6.73
Bruise
#7E4071
ΔE00 7.11
Deep Magenta
#A0025C
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B277A #279B48
analogous
#82279B #9B277A #9B2740
triadic
#9B277A #7A9B27 #277A9B
tetradic
#9B277A #9B8227 #279B48 #27409B
square
#9B277A #9B8227 #279B48 #27409B
split-complementary
#9B277A #409B27 #279B82
monochromatic
#390E2D #6A1B54 #9B277A #CC33A0 #D864B7
Accessibility & contrast
On white
7.08
#9B277A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#9B277A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9B277A
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B277A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B277A | 1.00 | 7.08 | 2.97 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324C7C
Deuteranopia (green-blind)
#565F77
Tritanopia (blue-blind)
#A5294D
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9b277a; /* rgb */ color: rgb(155, 39, 122); /* oklch */ color: oklch(48.5% 0.174 341.8);
Tailwind
colors: {
custom: {
50: '#bc6da0',
500: '#9b277a',
950: '#000000',
},
}SCSS
$custom: #9b277a; $custom-light: #bc6da0; $custom-dark: #000000;
JSON
{
"hex": "#9b277a",
"rgb": {
"r": 155,
"g": 39,
"b": 122
},
"hsl": {
"h": 317.069,
"s": 59.794,
"l": 38.039
},
"oklch": {
"l": 0.48451,
"c": 0.17401,
"h": 341.8
},
"luminance": 0.09825
}Semantic roles & 50–950 ramp
primary
#9B277A
secondary
#60BE7B
accent
#E37245
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12080E
muted
#817B7E