#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
RGBrgb(155, 39, 122)
HSLhsl(317, 60%, 38%)
HSVhsv(317, 75%, 61%)
CMYKcmyk(0%, 74.8%, 21.3%, 39.2%)
CIE-LABlab(37.53, 55.10, -20.19)
CIE-LCHlch(37.53, 58.68, 339.88°)
OKLaboklab(48.45% 0.1653 -0.0542)
OKLCHoklch(48.45% 0.174 341.8)
XYZxyz(17.7565, 9.8265, 19.3702)
Luminance0.0983 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

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
##9B277A1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.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

Preview Lab

Preview with #9B277A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9B277A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva