#9B2386#9B2386

#9B2386 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.7% C 0.186 H 336.3°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#9B2386
RGBrgb(155, 35, 134)
HSLhsl(311, 63%, 37%)
HSVhsv(311, 77%, 61%)
CMYKcmyk(0%, 77.4%, 13.5%, 39.2%)
CIE-LABlab(37.65, 58.10, -27.45)
CIE-LCHlch(37.65, 64.26, 334.71°)
OKLaboklab(48.73% 0.1708 -0.0748)
OKLCHoklch(48.73% 0.186 336.3)
XYZxyz(18.4220, 9.8936, 23.4891)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2386 #239B38
analogous
#74239B #9B2386 #9B234A
triadic
#9B2386 #869B23 #23869B
tetradic
#9B2386 #9B7423 #239B38 #234A9B
square
#9B2386 #9B7423 #239B38 #234A9B
split-complementary
#9B2386 #4A9B23 #239B74
monochromatic
#370C30 #69185B #9B2386 #CD2EB1 #DB5EC5

Accessibility & contrast

On white

7.05
#9B2386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9B2386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2386
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2386#FFFFFF#000000##FFFFFF
##9B23861.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254D89
Deuteranopia (green-blind)
#505F83
Tritanopia (blue-blind)
#A32C53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9b2386;
/* rgb */ color: rgb(155, 35, 134);
/* oklch */ color: oklch(48.7% 0.186 336.3);
Tailwind
colors: {
  custom: {
    50: '#bc6ca9',
    500: '#9b2386',
    950: '#000000',
  },
}
SCSS
$custom: #9b2386;
$custom-light: #bc6ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2386",
  "rgb": {
    "r": 155,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 310.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48725,
    "c": 0.18643,
    "h": 336.3
  },
  "luminance": 0.09892
}

Semantic roles & 50–950 ramp

primary
#9B2386
secondary
#5ABF6C
accent
#E65E42
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120810
muted
#817A7F

Preview Lab

Preview with #9B2386

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

Preview Lab → · Contrast checker → · Palette generator →

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