#9E1B72#9E1B72

#9E1B72 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.183 H 346.0°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#9E1B72
RGBrgb(158, 27, 114)
HSLhsl(320, 71%, 36%)
HSVhsv(320, 83%, 62%)
CMYKcmyk(0%, 82.9%, 27.8%, 38%)
CIE-LABlab(36.50, 58.33, -16.72)
CIE-LCHlch(36.50, 60.67, 344.01°)
OKLaboklab(47.69% 0.1776 -0.0444)
OKLCHoklch(47.69% 0.183 346)
XYZxyz(17.5306, 9.2699, 16.7824)
Luminance0.0927 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B72 #1B9E47
analogous
#891B9E #9E1B72 #9E1B30
triadic
#9E1B72 #729E1B #1B729E
tetradic
#9E1B72 #9E891B #1B9E47 #1B309E
square
#9E1B72 #9E891B #1B9E47 #1B309E
split-complementary
#9E1B72 #309E1B #1B9E89
monochromatic
#350927 #6A124C #9E1B72 #D22498 #E152B1

Accessibility & contrast

On white

7.36
#9E1B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9E1B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1B72
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B72#FFFFFF#000000##FFFFFF
##9E1B721.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304874
Deuteranopia (green-blind)
#585E6F
Tritanopia (blue-blind)
#A91645
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e1b72;
/* rgb */ color: rgb(158, 27, 114);
/* oklch */ color: oklch(47.7% 0.183 346.0);
Tailwind
colors: {
  custom: {
    50: '#bf699a',
    500: '#9e1b72',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b72;
$custom-light: #bf699a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b72",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 114
  },
  "hsl": {
    "h": 320.153,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47693,
    "c": 0.18302,
    "h": 346
  },
  "luminance": 0.09268
}

Semantic roles & 50–950 ramp

primary
#9E1B72
secondary
#51C477
accent
#EE763A
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E1B72

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

Preview Lab → · Contrast checker → · Palette generator →

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