#9B286B#9B286B

#9B286B is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.9% C 0.164 H 349.4°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#9B286B
RGBrgb(155, 40, 107)
HSLhsl(325, 59%, 38%)
HSVhsv(325, 74%, 61%)
CMYKcmyk(0%, 74.2%, 31%, 39.2%)
CIE-LABlab(37.02, 52.79, -11.55)
CIE-LCHlch(37.02, 54.04, 347.66°)
OKLaboklab(47.88% 0.1611 -0.0302)
OKLCHoklch(47.88% 0.164 349.4)
XYZxyz(16.9311, 9.5496, 14.8587)
Luminance0.0955 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B286B #289B58
analogous
#91289B #9B286B #9B2832
triadic
#9B286B #6B9B28 #286B9B
tetradic
#9B286B #9B9128 #289B58 #28329B
square
#9B286B #9B9128 #289B58 #28329B
split-complementary
#9B286B #329B28 #289B91
monochromatic
#3A0F28 #6A1B49 #9B286B #CB358C #D766A8

Accessibility & contrast

On white

7.22
#9B286B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9B286B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B286B
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B286B#FFFFFF#000000##FFFFFF
##9B286B1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4A6D
Deuteranopia (green-blind)
#5B5E68
Tritanopia (blue-blind)
#A62246
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b286b;
/* rgb */ color: rgb(155, 40, 107);
/* oklch */ color: oklch(47.9% 0.164 349.4);
Tailwind
colors: {
  custom: {
    50: '#bd6d95',
    500: '#9b286b',
    950: '#000000',
  },
}
SCSS
$custom: #9b286b;
$custom-light: #bd6d95;
$custom-dark: #000000;
JSON
{
  "hex": "#9b286b",
  "rgb": {
    "r": 155,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 325.043,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47876,
    "c": 0.1639,
    "h": 349.4
  },
  "luminance": 0.09548
}

Semantic roles & 50–950 ramp

primary
#9B286B
secondary
#61BD88
accent
#E28746
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9B286B

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

Preview Lab → · Contrast checker → · Palette generator →

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