#9E2187#9E2187

#9E2187 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 49.1% C 0.191 H 336.9°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#9E2187
RGBrgb(158, 33, 135)
HSLhsl(311, 65%, 37%)
HSVhsv(311, 79%, 62%)
CMYKcmyk(0%, 79.1%, 14.6%, 38%)
CIE-LABlab(38.04, 59.53, -27.42)
CIE-LCHlch(38.04, 65.55, 335.27°)
OKLaboklab(49.12% 0.1756 -0.0747)
OKLCHoklch(49.12% 0.191 336.9)
XYZxyz(19.0180, 10.1079, 23.8664)
Luminance0.1011 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2187 #219E38
analogous
#77219E #9E2187 #9E2149
triadic
#9E2187 #879E21 #21879E
tetradic
#9E2187 #9E7721 #219E38 #21499E
square
#9E2187 #9E7721 #219E38 #21499E
split-complementary
#9E2187 #499E21 #219E77
monochromatic
#390C30 #6B165C #9E2187 #D12CB2 #DD5CC5

Accessibility & contrast

On white

6.95
#9E2187 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9E2187 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2187
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2187#FFFFFF#000000##FFFFFF
##9E21871.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254D8A
Deuteranopia (green-blind)
#526084
Tritanopia (blue-blind)
#A72A53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e2187;
/* rgb */ color: rgb(158, 33, 135);
/* oklch */ color: oklch(49.1% 0.191 336.9);
Tailwind
colors: {
  custom: {
    50: '#bf6baa',
    500: '#9e2187',
    950: '#000000',
  },
}
SCSS
$custom: #9e2187;
$custom-light: #bf6baa;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2187",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 135
  },
  "hsl": {
    "h": 311.04,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49119,
    "c": 0.19078,
    "h": 336.9
  },
  "luminance": 0.10106
}

Semantic roles & 50–950 ramp

primary
#9E2187
secondary
#59C16D
accent
#E85E3F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9E2187

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

Preview Lab → · Contrast checker → · Palette generator →

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