#9B276C#9B276C

#9B276C is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.8% C 0.166 H 348.8°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#9B276C
RGBrgb(155, 39, 108)
HSLhsl(324, 60%, 38%)
HSVhsv(324, 75%, 61%)
CMYKcmyk(0%, 74.8%, 30.3%, 39.2%)
CIE-LABlab(36.94, 53.26, -12.31)
CIE-LCHlch(36.94, 54.67, 346.98°)
OKLaboklab(47.83% 0.1624 -0.0323)
OKLCHoklch(47.83% 0.166 348.8)
XYZxyz(16.9507, 9.5042, 15.1263)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B276C #279B56
analogous
#90279B #9B276C #9B2732
triadic
#9B276C #6C9B27 #276C9B
tetradic
#9B276C #9B9027 #279B56 #27329B
square
#9B276C #9B9027 #279B56 #27329B
split-complementary
#9B276C #329B27 #279B90
monochromatic
#390E28 #6A1B4A #9B276C #CC338E #D864A9

Accessibility & contrast

On white

7.24
#9B276C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9B276C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B276C
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B276C#FFFFFF#000000##FFFFFF
##9B276C1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394A6E
Deuteranopia (green-blind)
#5B5E69
Tritanopia (blue-blind)
#A62146
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b276c;
/* rgb */ color: rgb(155, 39, 108);
/* oklch */ color: oklch(47.8% 0.166 348.8);
Tailwind
colors: {
  custom: {
    50: '#bd6c96',
    500: '#9b276c',
    950: '#000000',
  },
}
SCSS
$custom: #9b276c;
$custom-light: #bd6c96;
$custom-dark: #000000;
JSON
{
  "hex": "#9b276c",
  "rgb": {
    "r": 155,
    "g": 39,
    "b": 108
  },
  "hsl": {
    "h": 324.31,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47827,
    "c": 0.16561,
    "h": 348.8
  },
  "luminance": 0.09502
}

Semantic roles & 50–950 ramp

primary
#9B276C
secondary
#60BE86
accent
#E38545
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9B276C

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

Preview Lab → · Contrast checker → · Palette generator →

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