#9D286B#9D286B

#9D286B is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.165 H 350.0°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#9D286B
RGBrgb(157, 40, 107)
HSLhsl(326, 59%, 39%)
HSVhsv(326, 75%, 62%)
CMYKcmyk(0%, 74.5%, 31.8%, 38.4%)
CIE-LABlab(37.39, 53.34, -10.96)
CIE-LCHlch(37.39, 54.45, 348.39°)
OKLaboklab(48.21% 0.163 -0.0286)
OKLCHoklch(48.21% 0.165 350)
XYZxyz(17.3182, 9.7492, 14.8768)
Luminance0.0975 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D286B #289D5A
analogous
#94289D #9D286B #9D2830
triadic
#9D286B #6B9D28 #286B9D
tetradic
#9D286B #9D9428 #289D5A #28309D
square
#9D286B #9D9428 #289D5A #28309D
split-complementary
#9D286B #309D28 #289D94
monochromatic
#3B0F29 #6C1C4A #9D286B #CC368C #D867A8

Accessibility & contrast

On white

7.12
#9D286B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9D286B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D286B
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D286B#FFFFFF#000000##FFFFFF
##9D286B1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4B6D
Deuteranopia (green-blind)
#5D5F68
Tritanopia (blue-blind)
#A92146
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d286b;
/* rgb */ color: rgb(157, 40, 107);
/* oklch */ color: oklch(48.2% 0.165 350.0);
Tailwind
colors: {
  custom: {
    50: '#be6d95',
    500: '#9d286b',
    950: '#000000',
  },
}
SCSS
$custom: #9d286b;
$custom-light: #be6d95;
$custom-dark: #000000;
JSON
{
  "hex": "#9d286b",
  "rgb": {
    "r": 157,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 325.641,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48212,
    "c": 0.16544,
    "h": 350
  },
  "luminance": 0.09747
}

Semantic roles & 50–950 ramp

primary
#9D286B
secondary
#62BE8A
accent
#E38845
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9D286B

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

Preview Lab → · Contrast checker → · Palette generator →

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