#9E2156#9E2156

#9E2156 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.0% C 0.165 H 0.6°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#9E2156
RGBrgb(158, 33, 86)
HSLhsl(335, 65%, 37%)
HSVhsv(335, 79%, 62%)
CMYKcmyk(0%, 79.1%, 45.6%, 38%)
CIE-LABlab(36.04, 53.61, 0.45)
CIE-LCHlch(36.04, 53.61, 0.48°)
OKLaboklab(47.02% 0.1647 0.0018)
OKLCHoklch(47.02% 0.165 0.6)
XYZxyz(16.3254, 9.0309, 9.6858)
Luminance0.0903 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2156 #219E69
analogous
#9E2195 #9E2156 #9E2B21
triadic
#9E2156 #569E21 #21569E
tetradic
#9E2156 #959E21 #219E69 #2B219E
square
#9E2156 #959E21 #219E69 #2B219E
split-complementary
#9E2156 #219E2B #21959E
monochromatic
#390C1F #6B163A #9E2156 #D12C72 #DD5C93

Accessibility & contrast

On white

7.48
#9E2156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#9E2156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2156
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2156#FFFFFF#000000##FFFFFF
##9E21561.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4557
Deuteranopia (green-blind)
#605D53
Tritanopia (blue-blind)
#AC0439
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e2156;
/* rgb */ color: rgb(158, 33, 86);
/* oklch */ color: oklch(47.0% 0.165 0.6);
Tailwind
colors: {
  custom: {
    50: '#c06a85',
    500: '#9e2156',
    950: '#000000',
  },
}
SCSS
$custom: #9e2156;
$custom-light: #c06a85;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2156",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 86
  },
  "hsl": {
    "h": 334.56,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47024,
    "c": 0.16469,
    "h": 0.6
  },
  "luminance": 0.09029
}

Semantic roles & 50–950 ramp

primary
#9E2156
secondary
#59C195
accent
#E8A13F
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E2156

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

Preview Lab → · Contrast checker → · Palette generator →

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