#9B2E77#9B2E77

#9B2E77 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.0% C 0.164 H 343.8°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#9B2E77
RGBrgb(155, 46, 119)
HSLhsl(320, 54%, 39%)
HSVhsv(320, 70%, 61%)
CMYKcmyk(0%, 70.3%, 23.2%, 39.2%)
CIE-LABlab(38.30, 52.15, -17.14)
CIE-LCHlch(38.30, 54.90, 341.81°)
OKLaboklab(48.97% 0.157 -0.0457)
OKLCHoklch(48.97% 0.164 343.8)
XYZxyz(17.8250, 10.2563, 18.4901)
Luminance0.1025 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2E77 #2E9B52
analogous
#892E9B #9B2E77 #9B2E40
triadic
#9B2E77 #779B2E #2E779B
tetradic
#9B2E77 #9B892E #2E9B52 #2E409B
square
#9B2E77 #9B892E #2E9B52 #2E409B
split-complementary
#9B2E77 #409B2E #2E9B89
monochromatic
#3D122F #6C2053 #9B2E77 #C6409A #D46FB3

Accessibility & contrast

On white

6.88
#9B2E77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9B2E77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2E77
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2E77#FFFFFF#000000##FFFFFF
##9B2E771.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394F79
Deuteranopia (green-blind)
#5A6174
Tritanopia (blue-blind)
#A52E4E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b2e77;
/* rgb */ color: rgb(155, 46, 119);
/* oklch */ color: oklch(49.0% 0.164 343.8);
Tailwind
colors: {
  custom: {
    50: '#bc709e',
    500: '#9b2e77',
    950: '#000000',
  },
}
SCSS
$custom: #9b2e77;
$custom-light: #bc709e;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2e77",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 119
  },
  "hsl": {
    "h": 319.817,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48968,
    "c": 0.16354,
    "h": 343.8
  },
  "luminance": 0.10254
}

Semantic roles & 50–950 ramp

primary
#9B2E77
secondary
#69BC84
accent
#DE7B4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9B2E77

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

Preview Lab → · Contrast checker → · Palette generator →

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