#9B2986#9B2986

#9B2986 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.180 H 336.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9B2986
RGBrgb(155, 41, 134)
HSLhsl(311, 58%, 38%)
HSVhsv(311, 74%, 61%)
CMYKcmyk(0%, 73.5%, 13.5%, 39.2%)
CIE-LABlab(38.34, 56.15, -26.38)
CIE-LCHlch(38.34, 62.04, 334.84°)
OKLaboklab(49.22% 0.1649 -0.0718)
OKLCHoklch(49.22% 0.18 336.5)
XYZxyz(18.6139, 10.2774, 23.5530)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2986 #299B3E
analogous
#77299B #9B2986 #9B294D
triadic
#9B2986 #869B29 #29869B
tetradic
#9B2986 #9B7729 #299B3E #294D9B
square
#9B2986 #9B7729 #299B3E #294D9B
split-complementary
#9B2986 #4D9B29 #299B77
monochromatic
#3A0F32 #6B1C5C #9B2986 #CA37AF #D767C2

Accessibility & contrast

On white

6.87
#9B2986 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9B2986 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2986
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2986#FFFFFF#000000##FFFFFF
##9B29861.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4F89
Deuteranopia (green-blind)
#526083
Tritanopia (blue-blind)
#A33054
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b2986;
/* rgb */ color: rgb(155, 41, 134);
/* oklch */ color: oklch(49.2% 0.180 336.5);
Tailwind
colors: {
  custom: {
    50: '#bc6ea9',
    500: '#9b2986',
    950: '#000000',
  },
}
SCSS
$custom: #9b2986;
$custom-light: #bc6ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2986",
  "rgb": {
    "r": 155,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 311.053,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49219,
    "c": 0.1799,
    "h": 336.5
  },
  "luminance": 0.10276
}

Semantic roles & 50–950 ramp

primary
#9B2986
secondary
#63BD73
accent
#E16346
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9B2986

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

Preview Lab → · Contrast checker → · Palette generator →

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