#9E1B52#9E1B52

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

Color values

HEX#9E1B52
RGBrgb(158, 27, 82)
HSLhsl(335, 71%, 36%)
HSVhsv(335, 83%, 62%)
CMYKcmyk(0%, 82.9%, 48.1%, 38%)
CIE-LABlab(35.33, 54.92, 2.00)
CIE-LCHlch(35.33, 54.96, 2.08°)
OKLaboklab(46.46% 0.1687 0.0057)
OKLCHoklch(46.46% 0.169 1.9)
XYZxyz(16.0168, 8.6644, 8.8100)
Luminance0.0866 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B52 #1B9E67
analogous
#9E1B94 #9E1B52 #9E261B
triadic
#9E1B52 #529E1B #1B529E
tetradic
#9E1B52 #949E1B #1B9E67 #261B9E
square
#9E1B52 #949E1B #1B9E67 #261B9E
split-complementary
#9E1B52 #1B9E26 #1B949E
monochromatic
#35091C #6A1237 #9E1B52 #D2246D #E1528E

Accessibility & contrast

On white

7.69
#9E1B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#9E1B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1B52
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B52#FFFFFF#000000##FFFFFF
##9E1B521.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e1b52;
/* rgb */ color: rgb(158, 27, 82);
/* oklch */ color: oklch(46.5% 0.169 1.9);
Tailwind
colors: {
  custom: {
    50: '#c06782',
    500: '#9e1b52',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b52;
$custom-light: #c06782;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b52",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 82
  },
  "hsl": {
    "h": 334.809,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46461,
    "c": 0.1688,
    "h": 1.9
  },
  "luminance": 0.08662
}

Semantic roles & 50–950 ramp

primary
#9E1B52
secondary
#51C494
accent
#EEA23A
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E1B52

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

Preview Lab → · Contrast checker → · Palette generator →

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