#9E197C#9E197C

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

Color values

HEX#9E197C
RGBrgb(158, 25, 124)
HSLhsl(315, 73%, 36%)
HSVhsv(315, 84%, 62%)
CMYKcmyk(0%, 84.2%, 21.5%, 38%)
CIE-LABlab(36.78, 60.08, -22.55)
CIE-LCHlch(36.78, 64.17, 339.42°)
OKLaboklab(48.05% 0.1806 -0.0608)
OKLCHoklch(48.05% 0.191 341.4)
XYZxyz(18.0869, 9.4215, 19.9309)
Luminance0.0942 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E197C #199E3B
analogous
#7D199E #9E197C #9E193A
triadic
#9E197C #7C9E19 #197C9E
tetradic
#9E197C #9E7D19 #199E3B #193A9E
square
#9E197C #9E7D19 #199E3B #193A9E
split-complementary
#9E197C #3A9E19 #199E7D
monochromatic
#340829 #691153 #9E197C #D321A5 #E34EBD

Accessibility & contrast

On white

7.28
#9E197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E197C
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E197C#FFFFFF#000000##FFFFFF
##9E197C1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28497E
Deuteranopia (green-blind)
#545E79
Tritanopia (blue-blind)
#A81D4B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e197c;
/* rgb */ color: rgb(158, 25, 124);
/* oklch */ color: oklch(48.0% 0.191 341.4);
Tailwind
colors: {
  custom: {
    50: '#bf68a2',
    500: '#9e197c',
    950: '#000000',
  },
}
SCSS
$custom: #9e197c;
$custom-light: #bf68a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e197c",
  "rgb": {
    "r": 158,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 315.338,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48045,
    "c": 0.19058,
    "h": 341.4
  },
  "luminance": 0.0942
}

Semantic roles & 50–950 ramp

primary
#9E197C
secondary
#4EC56C
accent
#EF6738
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E197C

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

Preview Lab → · Contrast checker → · Palette generator →

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