#9E2152#9E2152

#9E2152 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.163 H 2.8°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#9E2152
RGBrgb(158, 33, 82)
HSLhsl(336, 65%, 37%)
HSVhsv(336, 79%, 62%)
CMYKcmyk(0%, 79.1%, 48.1%, 38%)
CIE-LABlab(35.92, 53.24, 2.85)
CIE-LCHlch(35.92, 53.31, 3.07°)
OKLaboklab(46.9% 0.1633 0.0079)
OKLCHoklch(46.9% 0.163 2.8)
XYZxyz(16.1688, 8.9682, 8.8606)
Luminance0.0897 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2152 #219E6D
analogous
#9E2191 #9E2152 #9E2F21
triadic
#9E2152 #529E21 #21529E
tetradic
#9E2152 #919E21 #219E6D #2F219E
square
#9E2152 #919E21 #219E6D #2F219E
split-complementary
#9E2152 #219E2F #21919E
monochromatic
#390C1D #6B1638 #9E2152 #D12C6C #DD5C8F

Accessibility & contrast

On white

7.52
#9E2152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#9E2152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2152
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2152#FFFFFF#000000##FFFFFF
##9E21521.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404553
Deuteranopia (green-blind)
#615D4F
Tritanopia (blue-blind)
#AC0037
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e2152;
/* rgb */ color: rgb(158, 33, 82);
/* oklch */ color: oklch(46.9% 0.163 2.8);
Tailwind
colors: {
  custom: {
    50: '#c06a82',
    500: '#9e2152',
    950: '#000000',
  },
}
SCSS
$custom: #9e2152;
$custom-light: #c06a82;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2152",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 336.48,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46896,
    "c": 0.16345,
    "h": 2.8
  },
  "luminance": 0.08966
}

Semantic roles & 50–950 ramp

primary
#9E2152
secondary
#59C199
accent
#E8A63F
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E2152

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

Preview Lab → · Contrast checker → · Palette generator →

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