#9E1B75#9E1B75

#9E1B75 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.8% C 0.185 H 344.6°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#9E1B75
RGBrgb(158, 27, 117)
HSLhsl(319, 71%, 36%)
HSVhsv(319, 83%, 62%)
CMYKcmyk(0%, 82.9%, 25.9%, 38%)
CIE-LABlab(36.63, 58.70, -18.40)
CIE-LCHlch(36.63, 61.52, 342.59°)
OKLaboklab(47.83% 0.1781 -0.0491)
OKLCHoklch(47.83% 0.185 344.6)
XYZxyz(17.7042, 9.3393, 17.6965)
Luminance0.0934 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B75 #1B9E44
analogous
#861B9E #9E1B75 #9E1B33
triadic
#9E1B75 #759E1B #1B759E
tetradic
#9E1B75 #9E861B #1B9E44 #1B339E
square
#9E1B75 #9E861B #1B9E44 #1B339E
split-complementary
#9E1B75 #339E1B #1B9E86
monochromatic
#350928 #6A124E #9E1B75 #D2249C #E152B5

Accessibility & contrast

On white

7.32
#9E1B75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9E1B75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1B75
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B75#FFFFFF#000000##FFFFFF
##9E1B751.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4877
Deuteranopia (green-blind)
#575E72
Tritanopia (blue-blind)
#A91947
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e1b75;
/* rgb */ color: rgb(158, 27, 117);
/* oklch */ color: oklch(47.8% 0.185 344.6);
Tailwind
colors: {
  custom: {
    50: '#bf699d',
    500: '#9e1b75',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b75;
$custom-light: #bf699d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b75",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 117
  },
  "hsl": {
    "h": 318.779,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4783,
    "c": 0.18474,
    "h": 344.6
  },
  "luminance": 0.09337
}

Semantic roles & 50–950 ramp

primary
#9E1B75
secondary
#51C475
accent
#EE723A
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E1B75

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

Preview Lab → · Contrast checker → · Palette generator →

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