#9E1972#9E1972

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

Color values

HEX#9E1972
RGBrgb(158, 25, 114)
HSLhsl(320, 73%, 36%)
HSVhsv(320, 84%, 62%)
CMYKcmyk(0%, 84.2%, 27.8%, 38%)
CIE-LABlab(36.33, 58.81, -16.98)
CIE-LCHlch(36.33, 61.21, 343.90°)
OKLaboklab(47.57% 0.1791 -0.0451)
OKLCHoklch(47.57% 0.185 345.9)
XYZxyz(17.4863, 9.1813, 16.7676)
Luminance0.0918 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1972 #199E45
analogous
#87199E #9E1972 #9E192F
triadic
#9E1972 #729E19 #19729E
tetradic
#9E1972 #9E8719 #199E45 #192F9E
square
#9E1972 #9E8719 #199E45 #192F9E
split-complementary
#9E1972 #2F9E19 #199E87
monochromatic
#340826 #69114C #9E1972 #D32198 #E34EB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E1972#FFFFFF#000000##FFFFFF
##9E19721.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)
#2E4774
Deuteranopia (green-blind)
#575D6F
Tritanopia (blue-blind)
#A91445
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e1972;
/* rgb */ color: rgb(158, 25, 114);
/* oklch */ color: oklch(47.6% 0.185 345.9);
Tailwind
colors: {
  custom: {
    50: '#bf689a',
    500: '#9e1972',
    950: '#000000',
  },
}
SCSS
$custom: #9e1972;
$custom-light: #bf689a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1972",
  "rgb": {
    "r": 158,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 319.85,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47572,
    "c": 0.18465,
    "h": 345.9
  },
  "luminance": 0.09179
}

Semantic roles & 50–950 ramp

primary
#9E1972
secondary
#4EC575
accent
#EF7538
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E1972

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

Preview Lab → · Contrast checker → · Palette generator →

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