#9E2155#9E2155

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

Color values

HEX#9E2155
RGBrgb(158, 33, 85)
HSLhsl(335, 65%, 37%)
HSVhsv(335, 79%, 62%)
CMYKcmyk(0%, 79.1%, 46.2%, 38%)
CIE-LABlab(36.01, 53.52, 1.05)
CIE-LCHlch(36.01, 53.53, 1.12°)
OKLaboklab(46.99% 0.1643 0.0033)
OKLCHoklch(46.99% 0.164 1.1)
XYZxyz(16.2854, 9.0149, 9.4751)
Luminance0.0901 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2155 #219E6A
analogous
#9E2194 #9E2155 #9E2C21
triadic
#9E2155 #559E21 #21559E
tetradic
#9E2155 #949E21 #219E6A #2C219E
square
#9E2155 #949E21 #219E6A #2C219E
split-complementary
#9E2155 #219E2C #21949E
monochromatic
#390C1F #6B163A #9E2155 #D12C70 #DD5C92

Accessibility & contrast

On white

7.49
#9E2155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E2155
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2155#FFFFFF#000000##FFFFFF
##9E21551.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4556
Deuteranopia (green-blind)
#605D52
Tritanopia (blue-blind)
#AC0238
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e2155;
/* rgb */ color: rgb(158, 33, 85);
/* oklch */ color: oklch(47.0% 0.164 1.1);
Tailwind
colors: {
  custom: {
    50: '#c06a84',
    500: '#9e2155',
    950: '#000000',
  },
}
SCSS
$custom: #9e2155;
$custom-light: #c06a84;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2155",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 335.04,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46991,
    "c": 0.16436,
    "h": 1.1
  },
  "luminance": 0.09013
}

Semantic roles & 50–950 ramp

primary
#9E2155
secondary
#59C196
accent
#E8A23F
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E2155

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

Preview Lab → · Contrast checker → · Palette generator →

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