#9E286F#9E286F

#9E286F is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.5% C 0.168 H 348.3°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#9E286F
RGBrgb(158, 40, 111)
HSLhsl(324, 60%, 39%)
HSVhsv(324, 75%, 62%)
CMYKcmyk(0%, 74.7%, 29.7%, 38%)
CIE-LABlab(37.73, 54.10, -12.95)
CIE-LCHlch(37.73, 55.63, 346.54°)
OKLaboklab(48.55% 0.1649 -0.034)
OKLCHoklch(48.55% 0.168 348.3)
XYZxyz(17.7295, 9.9364, 16.0201)
Luminance0.0993 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E286F #289E57
analogous
#92289E #9E286F #9E2834
triadic
#9E286F #6F9E28 #286F9E
tetradic
#9E286F #9E9228 #289E57 #28349E
square
#9E286F #9E9228 #289E57 #28349E
split-complementary
#9E286F #349E28 #289E92
monochromatic
#3C0F2A #6D1C4D #9E286F #CC3791 #D968AC

Accessibility & contrast

On white

7.03
#9E286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9E286F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E286F
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E286F#FFFFFF#000000##FFFFFF
##9E286F1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4C71
Deuteranopia (green-blind)
#5C606C
Tritanopia (blue-blind)
#A92348
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e286f;
/* rgb */ color: rgb(158, 40, 111);
/* oklch */ color: oklch(48.5% 0.168 348.3);
Tailwind
colors: {
  custom: {
    50: '#bf6d98',
    500: '#9e286f',
    950: '#000000',
  },
}
SCSS
$custom: #9e286f;
$custom-light: #bf6d98;
$custom-dark: #000000;
JSON
{
  "hex": "#9e286f",
  "rgb": {
    "r": 158,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 323.898,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48545,
    "c": 0.16835,
    "h": 348.3
  },
  "luminance": 0.09934
}

Semantic roles & 50–950 ramp

primary
#9E286F
secondary
#63BF88
accent
#E38445
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9E286F

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

Preview Lab → · Contrast checker → · Palette generator →

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