#9E1B71#9E1B71

#9E1B71 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.6% C 0.182 H 346.4°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#9E1B71
RGBrgb(158, 27, 113)
HSLhsl(321, 71%, 36%)
HSVhsv(321, 83%, 62%)
CMYKcmyk(0%, 82.9%, 28.5%, 38%)
CIE-LABlab(36.46, 58.20, -16.15)
CIE-LCHlch(36.46, 60.40, 344.49°)
OKLaboklab(47.65% 0.1774 -0.0428)
OKLCHoklch(47.65% 0.182 346.4)
XYZxyz(17.4740, 9.2472, 16.4843)
Luminance0.0925 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B71 #1B9E48
analogous
#8A1B9E #9E1B71 #9E1B2F
triadic
#9E1B71 #719E1B #1B719E
tetradic
#9E1B71 #9E8A1B #1B9E48 #1B2F9E
square
#9E1B71 #9E8A1B #1B9E48 #1B2F9E
split-complementary
#9E1B71 #2F9E1B #1B9E8A
monochromatic
#350926 #6A124C #9E1B71 #D22496 #E152B0

Accessibility & contrast

On white

7.37
#9E1B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1B71
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B71#FFFFFF#000000##FFFFFF
##9E1B711.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e1b71;
/* rgb */ color: rgb(158, 27, 113);
/* oklch */ color: oklch(47.6% 0.182 346.4);
Tailwind
colors: {
  custom: {
    50: '#bf699a',
    500: '#9e1b71',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b71;
$custom-light: #bf699a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b71",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 320.611,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47648,
    "c": 0.18245,
    "h": 346.4
  },
  "luminance": 0.09245
}

Semantic roles & 50–950 ramp

primary
#9E1B71
secondary
#51C478
accent
#EE783A
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E1B71

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

Preview Lab → · Contrast checker → · Palette generator →

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