#9B2277#9B2277

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

Color values

HEX#9B2277
RGBrgb(155, 34, 119)
HSLhsl(318, 64%, 37%)
HSVhsv(318, 78%, 61%)
CMYKcmyk(0%, 78.1%, 23.2%, 39.2%)
CIE-LABlab(36.83, 56.30, -19.40)
CIE-LCHlch(36.83, 59.55, 340.99°)
OKLaboklab(47.9% 0.1698 -0.052)
OKLCHoklch(47.9% 0.178 343)
XYZxyz(17.4200, 9.4464, 18.3551)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2277 #229B46
analogous
#83229B #9B2277 #9B223B
triadic
#9B2277 #779B22 #22779B
tetradic
#9B2277 #9B8322 #229B46 #223B9B
square
#9B2277 #9B8322 #229B46 #223B9B
split-complementary
#9B2277 #3B9B22 #229B83
monochromatic
#370C2A #691750 #9B2277 #CD2D9E #DB5CB5

Accessibility & contrast

On white

7.27
#9B2277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9B2277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2277
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2277#FFFFFF#000000##FFFFFF
##9B22771.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4A79
Deuteranopia (green-blind)
#565E74
Tritanopia (blue-blind)
#A5234A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b2277;
/* rgb */ color: rgb(155, 34, 119);
/* oklch */ color: oklch(47.9% 0.178 343.0);
Tailwind
colors: {
  custom: {
    50: '#bc6b9e',
    500: '#9b2277',
    950: '#000000',
  },
}
SCSS
$custom: #9b2277;
$custom-light: #bc6b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2277",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 317.851,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.479,
    "c": 0.17753,
    "h": 343
  },
  "luminance": 0.09445
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B2277

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

Preview Lab → · Contrast checker → · Palette generator →

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