#9B2D78#9B2D78

#9B2D78 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.165 H 343.2°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9B2D78
RGBrgb(155, 45, 120)
HSLhsl(319, 55%, 39%)
HSVhsv(319, 71%, 61%)
CMYKcmyk(0%, 71%, 22.6%, 39.2%)
CIE-LABlab(38.20, 52.67, -17.90)
CIE-LCHlch(38.20, 55.63, 341.23°)
OKLaboklab(48.91% 0.1584 -0.0479)
OKLCHoklch(48.91% 0.165 343.2)
XYZxyz(17.8467, 10.2032, 18.7952)
Luminance0.1020 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2D78 #2D9B50
analogous
#872D9B #9B2D78 #9B2D41
triadic
#9B2D78 #789B2D #2D789B
tetradic
#9B2D78 #9B872D #2D9B50 #2D419B
square
#9B2D78 #9B872D #2D9B50 #2D419B
split-complementary
#9B2D78 #419B2D #2D9B87
monochromatic
#3C112F #6C1F53 #9B2D78 #C73E9B #D56EB4

Accessibility & contrast

On white

6.91
#9B2D78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9B2D78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2D78
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2D78#FFFFFF#000000##FFFFFF
##9B2D781.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384E7A
Deuteranopia (green-blind)
#596175
Tritanopia (blue-blind)
#A52D4E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b2d78;
/* rgb */ color: rgb(155, 45, 120);
/* oklch */ color: oklch(48.9% 0.165 343.2);
Tailwind
colors: {
  custom: {
    50: '#bc6f9f',
    500: '#9b2d78',
    950: '#000000',
  },
}
SCSS
$custom: #9b2d78;
$custom-light: #bc6f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2d78",
  "rgb": {
    "r": 155,
    "g": 45,
    "b": 120
  },
  "hsl": {
    "h": 319.091,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48914,
    "c": 0.16546,
    "h": 343.2
  },
  "luminance": 0.10201
}

Semantic roles & 50–950 ramp

primary
#9B2D78
secondary
#68BC83
accent
#DE7949
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9B2D78

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

Preview Lab → · Contrast checker → · Palette generator →

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