#9B2276#9B2276

#9B2276 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.177 H 343.4°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#9B2276
RGBrgb(155, 34, 118)
HSLhsl(318, 64%, 37%)
HSVhsv(318, 78%, 61%)
CMYKcmyk(0%, 78.1%, 23.9%, 39.2%)
CIE-LABlab(36.79, 56.17, -18.84)
CIE-LCHlch(36.79, 59.24, 341.46°)
OKLaboklab(47.85% 0.1696 -0.0504)
OKLCHoklch(47.85% 0.177 343.4)
XYZxyz(17.3603, 9.4225, 18.0405)
Luminance0.0942 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2276 #229B47
analogous
#84229B #9B2276 #9B223A
triadic
#9B2276 #769B22 #22769B
tetradic
#9B2276 #9B8422 #229B47 #223A9B
square
#9B2276 #9B8422 #229B47 #223A9B
split-complementary
#9B2276 #3A9B22 #229B84
monochromatic
#370C2A #691750 #9B2276 #CD2D9C #DB5CB4

Accessibility & contrast

On white

7.28
#9B2276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9B2276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2276
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2276#FFFFFF#000000##FFFFFF
##9B22761.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304A78
Deuteranopia (green-blind)
#565E73
Tritanopia (blue-blind)
#A5224A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b2276;
/* rgb */ color: rgb(155, 34, 118);
/* oklch */ color: oklch(47.9% 0.177 343.4);
Tailwind
colors: {
  custom: {
    50: '#bc6b9d',
    500: '#9b2276',
    950: '#000000',
  },
}
SCSS
$custom: #9b2276;
$custom-light: #bc6b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2276",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 318.347,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47854,
    "c": 0.17691,
    "h": 343.4
  },
  "luminance": 0.09421
}

Semantic roles & 50–950 ramp

primary
#9B2276
secondary
#59C078
accent
#E77441
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9B2276

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

Preview Lab → · Contrast checker → · Palette generator →

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