#9E2159#9E2159

#9E2159 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.1% C 0.166 H 359.0°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#9E2159
RGBrgb(158, 33, 89)
HSLhsl(333, 65%, 37%)
HSVhsv(333, 79%, 62%)
CMYKcmyk(0%, 79.1%, 43.7%, 38%)
CIE-LABlab(36.14, 53.90, -1.34)
CIE-LCHlch(36.14, 53.92, 358.58°)
OKLaboklab(47.12% 0.1657 -0.0029)
OKLCHoklch(47.12% 0.166 359)
XYZxyz(16.4488, 9.0803, 10.3357)
Luminance0.0908 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2159 #219E66
analogous
#9E2198 #9E2159 #9E2821
triadic
#9E2159 #599E21 #21599E
tetradic
#9E2159 #989E21 #219E66 #28219E
square
#9E2159 #989E21 #219E66 #28219E
split-complementary
#9E2159 #219E28 #21989E
monochromatic
#390C20 #6B163C #9E2159 #D12C76 #DD5C96

Accessibility & contrast

On white

7.46
#9E2159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#9E2159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2159
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2159#FFFFFF#000000##FFFFFF
##9E21591.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E465A
Deuteranopia (green-blind)
#605E56
Tritanopia (blue-blind)
#AC073A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e2159;
/* rgb */ color: rgb(158, 33, 89);
/* oklch */ color: oklch(47.1% 0.166 359.0);
Tailwind
colors: {
  custom: {
    50: '#c06a87',
    500: '#9e2159',
    950: '#000000',
  },
}
SCSS
$custom: #9e2159;
$custom-light: #c06a87;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2159",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 333.12,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47124,
    "c": 0.16571,
    "h": 359
  },
  "luminance": 0.09078
}

Semantic roles & 50–950 ramp

primary
#9E2159
secondary
#59C193
accent
#E89D3F
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E2159

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

Preview Lab → · Contrast checker → · Palette generator →

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