#9E1C52#9E1C52

#9E1C52 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.168 H 2.1°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#9E1C52
RGBrgb(158, 28, 82)
HSLhsl(335, 70%, 36%)
HSVhsv(335, 82%, 62%)
CMYKcmyk(0%, 82.3%, 48.1%, 38%)
CIE-LABlab(35.42, 54.66, 2.13)
CIE-LCHlch(35.42, 54.70, 2.23°)
OKLaboklab(46.53% 0.1679 0.006)
OKLCHoklch(46.53% 0.168 2.1)
XYZxyz(16.0402, 8.7110, 8.8178)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1C52 #1C9E68
analogous
#9E1C93 #9E1C52 #9E271C
triadic
#9E1C52 #529E1C #1C529E
tetradic
#9E1C52 #939E1C #1C9E68 #271C9E
square
#9E1C52 #939E1C #1C9E68 #271C9E
split-complementary
#9E1C52 #1C9E27 #1C939E
monochromatic
#360A1C #6A1337 #9E1C52 #D2256D #E1548E

Accessibility & contrast

On white

7.66
#9E1C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1C52
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1C52#FFFFFF#000000##FFFFFF
##9E1C521.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4353
Deuteranopia (green-blind)
#605C4F
Tritanopia (blue-blind)
#AC0035
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e1c52;
/* rgb */ color: rgb(158, 28, 82);
/* oklch */ color: oklch(46.5% 0.168 2.1);
Tailwind
colors: {
  custom: {
    50: '#c06882',
    500: '#9e1c52',
    950: '#000000',
  },
}
SCSS
$custom: #9e1c52;
$custom-light: #c06882;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1c52",
  "rgb": {
    "r": 158,
    "g": 28,
    "b": 82
  },
  "hsl": {
    "h": 335.077,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46528,
    "c": 0.16797,
    "h": 2.1
  },
  "luminance": 0.08709
}

Semantic roles & 50–950 ramp

primary
#9E1C52
secondary
#52C495
accent
#EDA33B
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E1C52

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

Preview Lab → · Contrast checker → · Palette generator →

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