#9E287D#9E287D

#9E287D is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.177 H 341.6°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#9E287D
RGBrgb(158, 40, 125)
HSLhsl(317, 60%, 39%)
HSVhsv(317, 75%, 62%)
CMYKcmyk(0%, 74.7%, 20.9%, 38%)
CIE-LABlab(38.32, 55.94, -20.79)
CIE-LCHlch(38.32, 59.68, 339.61°)
OKLaboklab(49.17% 0.1677 -0.0559)
OKLCHoklch(49.17% 0.177 341.6)
XYZxyz(18.5616, 10.2692, 20.4027)
Luminance0.1027 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E287D #289E49
analogous
#84289E #9E287D #9E2842
triadic
#9E287D #7D9E28 #287D9E
tetradic
#9E287D #9E8428 #289E49 #28429E
square
#9E287D #9E8428 #289E49 #28429E
split-complementary
#9E287D #429E28 #289E84
monochromatic
#3C0F30 #6D1C56 #9E287D #CC37A3 #D968B9

Accessibility & contrast

On white

6.88
#9E287D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9E287D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E287D
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E287D#FFFFFF#000000##FFFFFF
##9E287D1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324E7F
Deuteranopia (green-blind)
#58617A
Tritanopia (blue-blind)
#A82A4F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e287d;
/* rgb */ color: rgb(158, 40, 125);
/* oklch */ color: oklch(49.2% 0.177 341.6);
Tailwind
colors: {
  custom: {
    50: '#be6ea3',
    500: '#9e287d',
    950: '#000000',
  },
}
SCSS
$custom: #9e287d;
$custom-light: #be6ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e287d",
  "rgb": {
    "r": 158,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 316.78,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49171,
    "c": 0.17679,
    "h": 341.6
  },
  "luminance": 0.10267
}

Semantic roles & 50–950 ramp

primary
#9E287D
secondary
#63BF7D
accent
#E37145
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9E287D

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

Preview Lab → · Contrast checker → · Palette generator →

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