#9B276F#9B276F

#9B276F is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.0% C 0.167 H 347.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#9B276F
RGBrgb(155, 39, 111)
HSLhsl(323, 60%, 38%)
HSVhsv(323, 75%, 61%)
CMYKcmyk(0%, 74.8%, 28.4%, 39.2%)
CIE-LABlab(37.06, 53.64, -14.02)
CIE-LCHlch(37.06, 55.44, 345.35°)
OKLaboklab(47.95% 0.1631 -0.037)
OKLCHoklch(47.95% 0.167 347.2)
XYZxyz(17.1131, 9.5692, 15.9817)
Luminance0.0957 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B276F #279B53
analogous
#8D279B #9B276F #9B2735
triadic
#9B276F #6F9B27 #276F9B
tetradic
#9B276F #9B8D27 #279B53 #27359B
square
#9B276F #9B8D27 #279B53 #27359B
split-complementary
#9B276F #359B27 #279B8D
monochromatic
#390E29 #6A1B4C #9B276F #CC3392 #D864AC

Accessibility & contrast

On white

7.21
#9B276F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9B276F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B276F
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B276F#FFFFFF#000000##FFFFFF
##9B276F1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374A71
Deuteranopia (green-blind)
#5A5E6C
Tritanopia (blue-blind)
#A62347
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b276f;
/* rgb */ color: rgb(155, 39, 111);
/* oklch */ color: oklch(48.0% 0.167 347.2);
Tailwind
colors: {
  custom: {
    50: '#bc6c98',
    500: '#9b276f',
    950: '#000000',
  },
}
SCSS
$custom: #9b276f;
$custom-light: #bc6c98;
$custom-dark: #000000;
JSON
{
  "hex": "#9b276f",
  "rgb": {
    "r": 155,
    "g": 39,
    "b": 111
  },
  "hsl": {
    "h": 322.759,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47954,
    "c": 0.16729,
    "h": 347.2
  },
  "luminance": 0.09567
}

Semantic roles & 50–950 ramp

primary
#9B276F
secondary
#60BE84
accent
#E38145
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9B276F

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

Preview Lab → · Contrast checker → · Palette generator →

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