#9B277C#9B277C

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

Color values

HEX#9B277C
RGBrgb(155, 39, 124)
HSLhsl(316, 60%, 38%)
HSVhsv(316, 75%, 61%)
CMYKcmyk(0%, 74.8%, 20%, 39.2%)
CIE-LABlab(37.62, 55.38, -21.30)
CIE-LCHlch(37.62, 59.33, 338.97°)
OKLaboklab(48.55% 0.1657 -0.0574)
OKLCHoklch(48.55% 0.175 340.9)
XYZxyz(17.8817, 9.8766, 20.0295)
Luminance0.0988 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B277C #279B46
analogous
#80279B #9B277C #9B2742
triadic
#9B277C #7C9B27 #277C9B
tetradic
#9B277C #9B8027 #279B46 #27429B
square
#9B277C #9B8027 #279B46 #27429B
split-complementary
#9B277C #429B27 #279B80
monochromatic
#390E2E #6A1B55 #9B277C #CC33A3 #D864B9

Accessibility & contrast

On white

7.06
#9B277C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B277C
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B277C#FFFFFF#000000##FFFFFF
##9B277C1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304D7E
Deuteranopia (green-blind)
#555F79
Tritanopia (blue-blind)
#A52A4E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9b277c;
/* rgb */ color: rgb(155, 39, 124);
/* oklch */ color: oklch(48.5% 0.175 340.9);
Tailwind
colors: {
  custom: {
    50: '#bc6da2',
    500: '#9b277c',
    950: '#000000',
  },
}
SCSS
$custom: #9b277c;
$custom-light: #bc6da2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b277c",
  "rgb": {
    "r": 155,
    "g": 39,
    "b": 124
  },
  "hsl": {
    "h": 316.034,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48547,
    "c": 0.17531,
    "h": 340.9
  },
  "luminance": 0.09875
}

Semantic roles & 50–950 ramp

primary
#9B277C
secondary
#60BE79
accent
#E36F45
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B277C

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

Preview Lab → · Contrast checker → · Palette generator →

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