#9B286C#9B286C

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

Color values

HEX#9B286C
RGBrgb(155, 40, 108)
HSLhsl(325, 59%, 38%)
HSVhsv(325, 74%, 61%)
CMYKcmyk(0%, 74.2%, 30.3%, 39.2%)
CIE-LABlab(37.06, 52.91, -12.12)
CIE-LCHlch(37.06, 54.29, 347.09°)
OKLaboklab(47.92% 0.1614 -0.0318)
OKLCHoklch(47.92% 0.164 348.9)
XYZxyz(16.9840, 9.5708, 15.1374)
Luminance0.0957 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B286C #289B57
analogous
#90289B #9B286C #9B2832
triadic
#9B286C #6C9B28 #286C9B
tetradic
#9B286C #9B9028 #289B57 #28329B
square
#9B286C #9B9028 #289B57 #28329B
split-complementary
#9B286C #329B28 #289B90
monochromatic
#3A0F28 #6A1B4A #9B286C #CB358E #D766A9

Accessibility & contrast

On white

7.21
#9B286C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B286C
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B286C#FFFFFF#000000##FFFFFF
##9B286C1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394A6E
Deuteranopia (green-blind)
#5B5F69
Tritanopia (blue-blind)
#A62246
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b286c;
/* rgb */ color: rgb(155, 40, 108);
/* oklch */ color: oklch(47.9% 0.164 348.9);
Tailwind
colors: {
  custom: {
    50: '#bd6d96',
    500: '#9b286c',
    950: '#000000',
  },
}
SCSS
$custom: #9b286c;
$custom-light: #bd6d96;
$custom-dark: #000000;
JSON
{
  "hex": "#9b286c",
  "rgb": {
    "r": 155,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 324.522,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47917,
    "c": 0.16445,
    "h": 348.9
  },
  "luminance": 0.09569
}

Semantic roles & 50–950 ramp

primary
#9B286C
secondary
#61BD87
accent
#E28646
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9B286C

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

Preview Lab → · Contrast checker → · Palette generator →

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