#9E2157#9E2157

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

Color values

HEX#9E2157
RGBrgb(158, 33, 87)
HSLhsl(334, 65%, 37%)
HSVhsv(334, 79%, 62%)
CMYKcmyk(0%, 79.1%, 44.9%, 38%)
CIE-LABlab(36.07, 53.71, -0.15)
CIE-LCHlch(36.07, 53.71, 359.84°)
OKLaboklab(47.06% 0.165 0.0002)
OKLCHoklch(47.06% 0.165 0.1)
XYZxyz(16.3660, 9.0471, 9.8994)
Luminance0.0905 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2157 #219E68
analogous
#9E2196 #9E2157 #9E2A21
triadic
#9E2157 #579E21 #21579E
tetradic
#9E2157 #969E21 #219E68 #2A219E
square
#9E2157 #969E21 #219E68 #2A219E
split-complementary
#9E2157 #219E2A #21969E
monochromatic
#390C1F #6B163B #9E2157 #D12C73 #DD5C94

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E2157#FFFFFF#000000##FFFFFF
##9E21571.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)
#3E4658
Deuteranopia (green-blind)
#605D54
Tritanopia (blue-blind)
#AC0539
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e2157;
/* rgb */ color: rgb(158, 33, 87);
/* oklch */ color: oklch(47.1% 0.165 0.1);
Tailwind
colors: {
  custom: {
    50: '#c06a86',
    500: '#9e2157',
    950: '#000000',
  },
}
SCSS
$custom: #9e2157;
$custom-light: #c06a86;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2157",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 334.08,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47057,
    "c": 0.16502,
    "h": 0.1
  },
  "luminance": 0.09045
}

Semantic roles & 50–950 ramp

primary
#9E2157
secondary
#59C194
accent
#E89F3F
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E2157

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

Preview Lab → · Contrast checker → · Palette generator →

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