#9B2758#9B2758

#9B2758 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.1% C 0.157 H 359.6°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#9B2758
RGBrgb(155, 39, 88)
HSLhsl(335, 60%, 38%)
HSVhsv(335, 75%, 61%)
CMYKcmyk(0%, 74.8%, 43.2%, 39.2%)
CIE-LABlab(36.23, 51.00, -0.64)
CIE-LCHlch(36.23, 51.00, 359.28°)
OKLaboklab(47.07% 0.1565 -0.0011)
OKLCHoklch(47.07% 0.157 359.6)
XYZxyz(16.0057, 9.1262, 10.1493)
Luminance0.0912 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2758 #279B6A
analogous
#9B2792 #9B2758 #9B3027
triadic
#9B2758 #589B27 #27589B
tetradic
#9B2758 #929B27 #279B6A #30279B
square
#9B2758 #929B27 #279B6A #30279B
split-complementary
#9B2758 #279B30 #27929B
monochromatic
#390E20 #6A1B3C #9B2758 #CC3374 #D86495

Accessibility & contrast

On white

7.43
#9B2758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#9B2758 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2758
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2758#FFFFFF#000000##FFFFFF
##9B27581.007.432.827.43
#FFFFFF7.431.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404759
Deuteranopia (green-blind)
#5F5D55
Tritanopia (blue-blind)
#A8153C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9b2758;
/* rgb */ color: rgb(155, 39, 88);
/* oklch */ color: oklch(47.1% 0.157 359.6);
Tailwind
colors: {
  custom: {
    50: '#bd6c87',
    500: '#9b2758',
    950: '#000000',
  },
}
SCSS
$custom: #9b2758;
$custom-light: #bd6c87;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2758",
  "rgb": {
    "r": 155,
    "g": 39,
    "b": 88
  },
  "hsl": {
    "h": 334.655,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47073,
    "c": 0.15651,
    "h": 359.6
  },
  "luminance": 0.09124
}

Semantic roles & 50–950 ramp

primary
#9B2758
secondary
#60BE96
accent
#E3A045
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9B2758

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

Preview Lab → · Contrast checker → · Palette generator →

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