#9E1562#9E1562

#9E1562 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.7% C 0.179 H 353.2°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#9E1562
RGBrgb(158, 21, 98)
HSLhsl(326, 77%, 35%)
HSVhsv(326, 87%, 62%)
CMYKcmyk(0%, 86.7%, 38%, 38%)
CIE-LABlab(35.38, 57.88, -8.25)
CIE-LCHlch(35.38, 58.46, 351.89°)
OKLaboklab(46.67% 0.1782 -0.0211)
OKLCHoklch(46.67% 0.179 353.2)
XYZxyz(16.5745, 8.6894, 12.3573)
Luminance0.0869 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1562 #159E51
analogous
#95159E #9E1562 #9E151E
triadic
#9E1562 #629E15 #15629E
tetradic
#9E1562 #9E9515 #159E51 #151E9E
square
#9E1562 #9E9515 #159E51 #151E9E
split-complementary
#9E1562 #1E9E15 #159E95
monochromatic
#32071F #680E40 #9E1562 #D41C84 #E747A1

Accessibility & contrast

On white

7.67
#9E1562 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#9E1562 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1562
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1562#FFFFFF#000000##FFFFFF
##9E15621.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344464
Deuteranopia (green-blind)
#5B5C5F
Tritanopia (blue-blind)
#AB003B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e1562;
/* rgb */ color: rgb(158, 21, 98);
/* oklch */ color: oklch(46.7% 0.179 353.2);
Tailwind
colors: {
  custom: {
    50: '#c0668e',
    500: '#9e1562',
    950: '#000000',
  },
}
SCSS
$custom: #9e1562;
$custom-light: #c0668e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1562",
  "rgb": {
    "r": 158,
    "g": 21,
    "b": 98
  },
  "hsl": {
    "h": 326.277,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46672,
    "c": 0.17947,
    "h": 353.2
  },
  "luminance": 0.08687
}

Semantic roles & 50–950 ramp

primary
#9E1562
secondary
#47C77F
accent
#F38835
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9E1562

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

Preview Lab → · Contrast checker → · Palette generator →

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