#9E1952#9E1952

#9E1952 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.170 H 1.7°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#9E1952
RGBrgb(158, 25, 82)
HSLhsl(334, 73%, 36%)
HSVhsv(334, 84%, 62%)
CMYKcmyk(0%, 84.2%, 48.1%, 38%)
CIE-LABlab(35.15, 55.43, 1.74)
CIE-LCHlch(35.15, 55.45, 1.80°)
OKLaboklab(46.33% 0.1703 0.0051)
OKLCHoklch(46.33% 0.17 1.7)
XYZxyz(15.9726, 8.5758, 8.7952)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1952 #199E65
analogous
#9E1994 #9E1952 #9E2219
triadic
#9E1952 #529E19 #19529E
tetradic
#9E1952 #949E19 #199E65 #22199E
square
#9E1952 #949E19 #199E65 #22199E
split-complementary
#9E1952 #199E22 #19949E
monochromatic
#34081B #691137 #9E1952 #D3216D #E34E8E

Accessibility & contrast

On white

7.74
#9E1952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#9E1952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1952
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1952#FFFFFF#000000##FFFFFF
##9E19521.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4253
Deuteranopia (green-blind)
#5F5C4F
Tritanopia (blue-blind)
#AC0034
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e1952;
/* rgb */ color: rgb(158, 25, 82);
/* oklch */ color: oklch(46.3% 0.170 1.7);
Tailwind
colors: {
  custom: {
    50: '#c06782',
    500: '#9e1952',
    950: '#000000',
  },
}
SCSS
$custom: #9e1952;
$custom-light: #c06782;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1952",
  "rgb": {
    "r": 158,
    "g": 25,
    "b": 82
  },
  "hsl": {
    "h": 334.286,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46332,
    "c": 0.1704,
    "h": 1.7
  },
  "luminance": 0.08574
}

Semantic roles & 50–950 ramp

primary
#9E1952
secondary
#4EC592
accent
#EFA138
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E1952

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

Preview Lab → · Contrast checker → · Palette generator →

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