#9E197D#9E197D

#9E197D is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.1% C 0.191 H 341.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#9E197D
RGBrgb(158, 25, 125)
HSLhsl(315, 73%, 36%)
HSVhsv(315, 84%, 62%)
CMYKcmyk(0%, 84.2%, 20.9%, 38%)
CIE-LABlab(36.83, 60.21, -23.10)
CIE-LCHlch(36.83, 64.49, 339.01°)
OKLaboklab(48.1% 0.1808 -0.0623)
OKLCHoklch(48.1% 0.191 341)
XYZxyz(18.1505, 9.4470, 20.2656)
Luminance0.0945 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E197D #199E3A
analogous
#7C199E #9E197D #9E193A
triadic
#9E197D #7D9E19 #197D9E
tetradic
#9E197D #9E7C19 #199E3A #193A9E
square
#9E197D #9E7C19 #199E3A #193A9E
split-complementary
#9E197D #3A9E19 #199E7C
monochromatic
#340829 #691153 #9E197D #D321A7 #E34EBE

Accessibility & contrast

On white

7.27
#9E197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9E197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E197D
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E197D#FFFFFF#000000##FFFFFF
##9E197D1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27497F
Deuteranopia (green-blind)
#535E7A
Tritanopia (blue-blind)
#A81D4B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e197d;
/* rgb */ color: rgb(158, 25, 125);
/* oklch */ color: oklch(48.1% 0.191 341.0);
Tailwind
colors: {
  custom: {
    50: '#bf68a3',
    500: '#9e197d',
    950: '#000000',
  },
}
SCSS
$custom: #9e197d;
$custom-light: #bf68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e197d",
  "rgb": {
    "r": 158,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 314.887,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48095,
    "c": 0.1912,
    "h": 341
  },
  "luminance": 0.09445
}

Semantic roles & 50–950 ramp

primary
#9E197D
secondary
#4EC56B
accent
#EF6638
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E197D

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

Preview Lab → · Contrast checker → · Palette generator →

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