#9D286C#9D286C

#9D286C is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.3% C 0.166 H 349.5°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#9D286C
RGBrgb(157, 40, 108)
HSLhsl(325, 59%, 39%)
HSVhsv(325, 75%, 62%)
CMYKcmyk(0%, 74.5%, 31.2%, 38.4%)
CIE-LABlab(37.43, 53.46, -11.53)
CIE-LCHlch(37.43, 54.69, 347.83°)
OKLaboklab(48.25% 0.1632 -0.0301)
OKLCHoklch(48.25% 0.166 349.5)
XYZxyz(17.3711, 9.7704, 15.1555)
Luminance0.0977 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D286C #289D59
analogous
#93289D #9D286C #9D2831
triadic
#9D286C #6C9D28 #286C9D
tetradic
#9D286C #9D9328 #289D59 #28319D
square
#9D286C #9D9328 #289D59 #28319D
split-complementary
#9D286C #319D28 #289D93
monochromatic
#3B0F29 #6C1C4A #9D286C #CC368D #D867A9

Accessibility & contrast

On white

7.11
#9D286C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D286C
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D286C#FFFFFF#000000##FFFFFF
##9D286C1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d286c;
/* rgb */ color: rgb(157, 40, 108);
/* oklch */ color: oklch(48.3% 0.166 349.5);
Tailwind
colors: {
  custom: {
    50: '#be6d96',
    500: '#9d286c',
    950: '#000000',
  },
}
SCSS
$custom: #9d286c;
$custom-light: #be6d96;
$custom-dark: #000000;
JSON
{
  "hex": "#9d286c",
  "rgb": {
    "r": 157,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 325.128,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48253,
    "c": 0.16596,
    "h": 349.5
  },
  "luminance": 0.09768
}

Semantic roles & 50–950 ramp

primary
#9D286C
secondary
#62BE89
accent
#E38745
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9D286C

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

Preview Lab → · Contrast checker → · Palette generator →

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