#9E2154#9E2154

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

Color values

HEX#9E2154
RGBrgb(158, 33, 84)
HSLhsl(336, 65%, 37%)
HSVhsv(336, 79%, 62%)
CMYKcmyk(0%, 79.1%, 46.8%, 38%)
CIE-LABlab(35.98, 53.42, 1.65)
CIE-LCHlch(35.98, 53.45, 1.77°)
OKLaboklab(46.96% 0.164 0.0048)
OKLCHoklch(46.96% 0.164 1.7)
XYZxyz(16.2460, 8.9991, 9.2673)
Luminance0.0900 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2154 #219E6B
analogous
#9E2193 #9E2154 #9E2D21
triadic
#9E2154 #549E21 #21549E
tetradic
#9E2154 #939E21 #219E6B #2D219E
square
#9E2154 #939E21 #219E6B #2D219E
split-complementary
#9E2154 #219E2D #21939E
monochromatic
#390C1E #6B1639 #9E2154 #D12C6F #DD5C91

Accessibility & contrast

On white

7.50
#9E2154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#9E2154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2154
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2154#FFFFFF#000000##FFFFFF
##9E21541.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4555
Deuteranopia (green-blind)
#615D51
Tritanopia (blue-blind)
#AC0138
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e2154;
/* rgb */ color: rgb(158, 33, 84);
/* oklch */ color: oklch(47.0% 0.164 1.7);
Tailwind
colors: {
  custom: {
    50: '#c06a83',
    500: '#9e2154',
    950: '#000000',
  },
}
SCSS
$custom: #9e2154;
$custom-light: #c06a83;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2154",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 335.52,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46959,
    "c": 0.16405,
    "h": 1.7
  },
  "luminance": 0.08997
}

Semantic roles & 50–950 ramp

primary
#9E2154
secondary
#59C197
accent
#E8A33F
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E2154

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

Preview Lab → · Contrast checker → · Palette generator →

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