#9B286D#9B286D

#9B286D is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.0% C 0.165 H 348.3°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#9B286D
RGBrgb(155, 40, 109)
HSLhsl(324, 59%, 38%)
HSVhsv(324, 74%, 61%)
CMYKcmyk(0%, 74.2%, 29.7%, 39.2%)
CIE-LABlab(37.10, 53.04, -12.70)
CIE-LCHlch(37.10, 54.54, 346.54°)
OKLaboklab(47.96% 0.1616 -0.0334)
OKLCHoklch(47.96% 0.165 348.3)
XYZxyz(17.0375, 9.5922, 15.4193)
Luminance0.0959 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B286D #289B56
analogous
#8F289B #9B286D #9B2833
triadic
#9B286D #6D9B28 #286D9B
tetradic
#9B286D #9B8F28 #289B56 #28339B
square
#9B286D #9B8F28 #289B56 #28339B
split-complementary
#9B286D #339B28 #289B8F
monochromatic
#3A0F29 #6A1B4B #9B286D #CB358F #D766AA

Accessibility & contrast

On white

7.20
#9B286D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9B286D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B286D
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B286D#FFFFFF#000000##FFFFFF
##9B286D1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394A6F
Deuteranopia (green-blind)
#5B5F6A
Tritanopia (blue-blind)
#A62347
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b286d;
/* rgb */ color: rgb(155, 40, 109);
/* oklch */ color: oklch(48.0% 0.165 348.3);
Tailwind
colors: {
  custom: {
    50: '#bd6d97',
    500: '#9b286d',
    950: '#000000',
  },
}
SCSS
$custom: #9b286d;
$custom-light: #bd6d97;
$custom-dark: #000000;
JSON
{
  "hex": "#9b286d",
  "rgb": {
    "r": 155,
    "g": 40,
    "b": 109
  },
  "hsl": {
    "h": 324,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47959,
    "c": 0.165,
    "h": 348.3
  },
  "luminance": 0.0959
}

Semantic roles & 50–950 ramp

primary
#9B286D
secondary
#61BD86
accent
#E28446
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9B286D

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

Preview Lab → · Contrast checker → · Palette generator →

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