#9E1A52#9E1A52

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

Color values

HEX#9E1A52
RGBrgb(158, 26, 82)
HSLhsl(335, 72%, 36%)
HSVhsv(335, 84%, 62%)
CMYKcmyk(0%, 83.5%, 48.1%, 38%)
CIE-LABlab(35.24, 55.18, 1.87)
CIE-LCHlch(35.24, 55.21, 1.94°)
OKLaboklab(46.4% 0.1695 0.0054)
OKLCHoklch(46.4% 0.17 1.8)
XYZxyz(15.9943, 8.6193, 8.8025)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A52 #1A9E66
analogous
#9E1A94 #9E1A52 #9E241A
triadic
#9E1A52 #529E1A #1A529E
tetradic
#9E1A52 #949E1A #1A9E66 #241A9E
square
#9E1A52 #949E1A #1A9E66 #241A9E
split-complementary
#9E1A52 #1A9E24 #1A949E
monochromatic
#35091B #691137 #9E1A52 #D3236D #E2508E

Accessibility & contrast

On white

7.71
#9E1A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9E1A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1A52
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1A52#FFFFFF#000000##FFFFFF
##9E1A521.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e1a52;
/* rgb */ color: rgb(158, 26, 82);
/* oklch */ color: oklch(46.4% 0.170 1.8);
Tailwind
colors: {
  custom: {
    50: '#c06782',
    500: '#9e1a52',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a52;
$custom-light: #c06782;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a52",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 82
  },
  "hsl": {
    "h": 334.545,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46395,
    "c": 0.16962,
    "h": 1.8
  },
  "luminance": 0.08617
}

Semantic roles & 50–950 ramp

primary
#9E1A52
secondary
#4FC593
accent
#EEA239
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E1A52

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

Preview Lab → · Contrast checker → · Palette generator →

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