#9B277B#9B277B

#9B277B is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.5% C 0.175 H 341.4°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9B277B
RGBrgb(155, 39, 123)
HSLhsl(317, 60%, 38%)
HSVhsv(317, 75%, 61%)
CMYKcmyk(0%, 74.8%, 20.6%, 39.2%)
CIE-LABlab(37.57, 55.24, -20.74)
CIE-LCHlch(37.57, 59.01, 339.42°)
OKLaboklab(48.5% 0.1655 -0.0558)
OKLCHoklch(48.5% 0.175 341.4)
XYZxyz(17.8188, 9.8515, 19.6982)
Luminance0.0985 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B277B #279B47
analogous
#81279B #9B277B #9B2741
triadic
#9B277B #7B9B27 #277B9B
tetradic
#9B277B #9B8127 #279B47 #27419B
square
#9B277B #9B8127 #279B47 #27419B
split-complementary
#9B277B #419B27 #279B81
monochromatic
#390E2D #6A1B54 #9B277B #CC33A2 #D864B8

Accessibility & contrast

On white

7.07
#9B277B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9B277B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B277B
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B277B#FFFFFF#000000##FFFFFF
##9B277B1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314C7D
Deuteranopia (green-blind)
#565F78
Tritanopia (blue-blind)
#A5294E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b277b;
/* rgb */ color: rgb(155, 39, 123);
/* oklch */ color: oklch(48.5% 0.175 341.4);
Tailwind
colors: {
  custom: {
    50: '#bc6da1',
    500: '#9b277b',
    950: '#000000',
  },
}
SCSS
$custom: #9b277b;
$custom-light: #bc6da1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b277b",
  "rgb": {
    "r": 155,
    "g": 39,
    "b": 123
  },
  "hsl": {
    "h": 316.552,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48499,
    "c": 0.17466,
    "h": 341.4
  },
  "luminance": 0.0985
}

Semantic roles & 50–950 ramp

primary
#9B277B
secondary
#60BE7A
accent
#E37045
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12080F
muted
#817B7E

Preview Lab

Preview with #9B277B

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

Preview Lab → · Contrast checker → · Palette generator →

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