#9E1B6B#9E1B6B

#9E1B6B is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.4% C 0.179 H 349.3°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#9E1B6B
RGBrgb(158, 27, 107)
HSLhsl(323, 71%, 36%)
HSVhsv(323, 83%, 62%)
CMYKcmyk(0%, 82.9%, 32.3%, 38%)
CIE-LABlab(36.21, 57.49, -12.74)
CIE-LCHlch(36.21, 58.88, 347.51°)
OKLaboklab(47.39% 0.1761 -0.0334)
OKLCHoklch(47.39% 0.179 349.3)
XYZxyz(17.1473, 9.1166, 14.7638)
Luminance0.0911 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B6B #1B9E4E
analogous
#901B9E #9E1B6B #9E1B29
triadic
#9E1B6B #6B9E1B #1B6B9E
tetradic
#9E1B6B #9E901B #1B9E4E #1B299E
square
#9E1B6B #9E901B #1B9E4E #1B299E
split-complementary
#9E1B6B #299E1B #1B9E90
monochromatic
#350924 #6A1248 #9E1B6B #D2248E #E152AA

Accessibility & contrast

On white

7.44
#9E1B6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#9E1B6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1B6B
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B6B#FFFFFF#000000##FFFFFF
##9E1B6B1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33476D
Deuteranopia (green-blind)
#5A5D68
Tritanopia (blue-blind)
#AA1042
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e1b6b;
/* rgb */ color: rgb(158, 27, 107);
/* oklch */ color: oklch(47.4% 0.179 349.3);
Tailwind
colors: {
  custom: {
    50: '#bf6895',
    500: '#9e1b6b',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b6b;
$custom-light: #bf6895;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b6b",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 107
  },
  "hsl": {
    "h": 323.359,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47387,
    "c": 0.17921,
    "h": 349.3
  },
  "luminance": 0.09115
}

Semantic roles & 50–950 ramp

primary
#9E1B6B
secondary
#51C47E
accent
#EE803A
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9E1B6B

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

Preview Lab → · Contrast checker → · Palette generator →

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