#9D286F#9D286F

#9D286F is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.4% C 0.168 H 348.0°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#9D286F
RGBrgb(157, 40, 111)
HSLhsl(324, 59%, 39%)
HSVhsv(324, 75%, 62%)
CMYKcmyk(0%, 74.5%, 29.3%, 38.4%)
CIE-LABlab(37.55, 53.83, -13.24)
CIE-LCHlch(37.55, 55.44, 346.18°)
OKLaboklab(48.38% 0.1639 -0.0348)
OKLCHoklch(48.38% 0.168 348)
XYZxyz(17.5335, 9.8353, 16.0109)
Luminance0.0983 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D286F #289D56
analogous
#90289D #9D286F #9D2834
triadic
#9D286F #6F9D28 #286F9D
tetradic
#9D286F #9D9028 #289D56 #28349D
square
#9D286F #9D9028 #289D56 #28349D
split-complementary
#9D286F #349D28 #289D90
monochromatic
#3B0F2A #6C1C4D #9D286F #CC3691 #D867AC

Accessibility & contrast

On white

7.08
#9D286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9D286F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D286F
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D286F#FFFFFF#000000##FFFFFF
##9D286F1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394B71
Deuteranopia (green-blind)
#5C606C
Tritanopia (blue-blind)
#A82348
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d286f;
/* rgb */ color: rgb(157, 40, 111);
/* oklch */ color: oklch(48.4% 0.168 348.0);
Tailwind
colors: {
  custom: {
    50: '#be6d98',
    500: '#9d286f',
    950: '#000000',
  },
}
SCSS
$custom: #9d286f;
$custom-light: #be6d98;
$custom-dark: #000000;
JSON
{
  "hex": "#9d286f",
  "rgb": {
    "r": 157,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 323.59,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48378,
    "c": 0.1676,
    "h": 348
  },
  "luminance": 0.09833
}

Semantic roles & 50–950 ramp

primary
#9D286F
secondary
#62BE87
accent
#E38345
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9D286F

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

Preview Lab → · Contrast checker → · Palette generator →

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