#9E197F#9E197F

#9E197F is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.2% C 0.192 H 340.1°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#9E197F
RGBrgb(158, 25, 127)
HSLhsl(314, 73%, 36%)
HSVhsv(314, 84%, 62%)
CMYKcmyk(0%, 84.2%, 19.6%, 38%)
CIE-LABlab(36.93, 60.48, -24.20)
CIE-LCHlch(36.93, 65.14, 338.19°)
OKLaboklab(48.2% 0.181 -0.0654)
OKLCHoklch(48.2% 0.192 340.1)
XYZxyz(18.2795, 9.4986, 20.9453)
Luminance0.0950 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E197F #199E38
analogous
#7A199E #9E197F #9E193C
triadic
#9E197F #7F9E19 #197F9E
tetradic
#9E197F #9E7A19 #199E38 #193C9E
square
#9E197F #9E7A19 #199E38 #193C9E
split-complementary
#9E197F #3C9E19 #199E7A
monochromatic
#34082A #691155 #9E197F #D321A9 #E34EC0

Accessibility & contrast

On white

7.24
#9E197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9E197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E197F
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E197F#FFFFFF#000000##FFFFFF
##9E197F1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254A82
Deuteranopia (green-blind)
#535E7C
Tritanopia (blue-blind)
#A81F4C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e197f;
/* rgb */ color: rgb(158, 25, 127);
/* oklch */ color: oklch(48.2% 0.192 340.1);
Tailwind
colors: {
  custom: {
    50: '#bf69a4',
    500: '#9e197f',
    950: '#000000',
  },
}
SCSS
$custom: #9e197f;
$custom-light: #bf69a4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e197f",
  "rgb": {
    "r": 158,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 313.985,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48195,
    "c": 0.19246,
    "h": 340.1
  },
  "luminance": 0.09497
}

Semantic roles & 50–950 ramp

primary
#9E197F
secondary
#4EC569
accent
#EF6338
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E197F

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

Preview Lab → · Contrast checker → · Palette generator →

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