#9E1B6E#9E1B6E

#9E1B6E is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.5% C 0.181 H 347.8°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#9E1B6E
RGBrgb(158, 27, 110)
HSLhsl(322, 71%, 36%)
HSVhsv(322, 83%, 62%)
CMYKcmyk(0%, 82.9%, 30.4%, 38%)
CIE-LABlab(36.33, 57.84, -14.45)
CIE-LCHlch(36.33, 59.62, 345.97°)
OKLaboklab(47.52% 0.1768 -0.0381)
OKLCHoklch(47.52% 0.181 347.8)
XYZxyz(17.3079, 9.1808, 15.6094)
Luminance0.0918 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B6E #1B9E4B
analogous
#8D1B9E #9E1B6E #9E1B2C
triadic
#9E1B6E #6E9E1B #1B6E9E
tetradic
#9E1B6E #9E8D1B #1B9E4B #1B2C9E
square
#9E1B6E #9E8D1B #1B9E4B #1B2C9E
split-complementary
#9E1B6E #2C9E1B #1B9E8D
monochromatic
#350925 #6A124A #9E1B6E #D22492 #E152AD

Accessibility & contrast

On white

7.41
#9E1B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9E1B6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1B6E
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B6E#FFFFFF#000000##FFFFFF
##9E1B6E1.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324770
Deuteranopia (green-blind)
#595D6B
Tritanopia (blue-blind)
#AA1343
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e1b6e;
/* rgb */ color: rgb(158, 27, 110);
/* oklch */ color: oklch(47.5% 0.181 347.8);
Tailwind
colors: {
  custom: {
    50: '#bf6897',
    500: '#9e1b6e',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b6e;
$custom-light: #bf6897;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b6e",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 110
  },
  "hsl": {
    "h": 321.985,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47516,
    "c": 0.18081,
    "h": 347.8
  },
  "luminance": 0.09179
}

Semantic roles & 50–950 ramp

primary
#9E1B6E
secondary
#51C47B
accent
#EE7C3A
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9E1B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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