#9E197B#9E197B

#9E197B is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.0% C 0.190 H 341.8°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#9E197B
RGBrgb(158, 25, 123)
HSLhsl(316, 73%, 36%)
HSVhsv(316, 84%, 62%)
CMYKcmyk(0%, 84.2%, 22.2%, 38%)
CIE-LABlab(36.74, 59.95, -22.00)
CIE-LCHlch(36.74, 63.86, 339.85°)
OKLaboklab(48% 0.1805 -0.0592)
OKLCHoklch(48% 0.19 341.8)
XYZxyz(18.0240, 9.3964, 19.5995)
Luminance0.0939 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E197B #199E3C
analogous
#7E199E #9E197B #9E1939
triadic
#9E197B #7B9E19 #197B9E
tetradic
#9E197B #9E7E19 #199E3C #19399E
square
#9E197B #9E7E19 #199E3C #19399E
split-complementary
#9E197B #399E19 #199E7E
monochromatic
#340829 #691152 #9E197B #D321A4 #E34EBC

Accessibility & contrast

On white

7.29
#9E197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9E197B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E197B
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E197B#FFFFFF#000000##FFFFFF
##9E197B1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29497D
Deuteranopia (green-blind)
#545E78
Tritanopia (blue-blind)
#A81C4A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e197b;
/* rgb */ color: rgb(158, 25, 123);
/* oklch */ color: oklch(48.0% 0.190 341.8);
Tailwind
colors: {
  custom: {
    50: '#bf68a1',
    500: '#9e197b',
    950: '#000000',
  },
}
SCSS
$custom: #9e197b;
$custom-light: #bf68a1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e197b",
  "rgb": {
    "r": 158,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 315.789,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47996,
    "c": 0.18996,
    "h": 341.8
  },
  "luminance": 0.09394
}

Semantic roles & 50–950 ramp

primary
#9E197B
secondary
#4EC56D
accent
#EF6938
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070F
muted
#827A7E

Preview Lab

Preview with #9E197B

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

Preview Lab → · Contrast checker → · Palette generator →

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