#9E197A#9E197A

#9E197A is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.189 H 342.3°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#9E197A
RGBrgb(158, 25, 122)
HSLhsl(316, 73%, 36%)
HSVhsv(316, 84%, 62%)
CMYKcmyk(0%, 84.2%, 22.8%, 38%)
CIE-LABlab(36.69, 59.82, -21.45)
CIE-LCHlch(36.69, 63.54, 340.27°)
OKLaboklab(47.95% 0.1804 -0.0576)
OKLCHoklch(47.95% 0.189 342.3)
XYZxyz(17.9617, 9.3715, 19.2715)
Luminance0.0937 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E197A #199E3D
analogous
#7F199E #9E197A #9E1937
triadic
#9E197A #7A9E19 #197A9E
tetradic
#9E197A #9E7F19 #199E3D #19379E
square
#9E197A #9E7F19 #199E3D #19379E
split-complementary
#9E197A #379E19 #199E7F
monochromatic
#340828 #691151 #9E197A #D321A3 #E34EBB

Accessibility & contrast

On white

7.31
#9E197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E197A
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E197A#FFFFFF#000000##FFFFFF
##9E197A1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29497C
Deuteranopia (green-blind)
#545E77
Tritanopia (blue-blind)
#A81B49
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e197a;
/* rgb */ color: rgb(158, 25, 122);
/* oklch */ color: oklch(47.9% 0.189 342.3);
Tailwind
colors: {
  custom: {
    50: '#bf68a0',
    500: '#9e197a',
    950: '#000000',
  },
}
SCSS
$custom: #9e197a;
$custom-light: #bf68a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e197a",
  "rgb": {
    "r": 158,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 316.241,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47947,
    "c": 0.18935,
    "h": 342.3
  },
  "luminance": 0.0937
}

Semantic roles & 50–950 ramp

primary
#9E197A
secondary
#4EC56E
accent
#EF6A38
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070F
muted
#827A7E

Preview Lab

Preview with #9E197A

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

Preview Lab → · Contrast checker → · Palette generator →

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