#9D197C#9D197C

#9D197C is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.9% C 0.190 H 341.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#9D197C
RGBrgb(157, 25, 124)
HSLhsl(315, 73%, 36%)
HSVhsv(315, 84%, 62%)
CMYKcmyk(0%, 84.1%, 21%, 38.4%)
CIE-LABlab(36.59, 59.85, -22.86)
CIE-LCHlch(36.59, 64.07, 339.10°)
OKLaboklab(47.87% 0.1797 -0.0617)
OKLCHoklch(47.87% 0.19 341.1)
XYZxyz(17.8910, 9.3205, 19.9217)
Luminance0.0932 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D197C #199D3A
analogous
#7C199D #9D197C #9D193A
triadic
#9D197C #7C9D19 #197C9D
tetradic
#9D197C #9D7C19 #199D3A #193A9D
square
#9D197C #9D7C19 #199D3A #193A9D
split-complementary
#9D197C #3A9D19 #199D7C
monochromatic
#330829 #681152 #9D197C #D221A6 #E34EBD

Accessibility & contrast

On white

7.33
#9D197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9D197C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D197C
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D197C#FFFFFF#000000##FFFFFF
##9D197C1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27497E
Deuteranopia (green-blind)
#535D79
Tritanopia (blue-blind)
#A71D4B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d197c;
/* rgb */ color: rgb(157, 25, 124);
/* oklch */ color: oklch(47.9% 0.190 341.1);
Tailwind
colors: {
  custom: {
    50: '#be68a2',
    500: '#9d197c',
    950: '#000000',
  },
}
SCSS
$custom: #9d197c;
$custom-light: #be68a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d197c",
  "rgb": {
    "r": 157,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 315,
    "s": 72.527,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47874,
    "c": 0.19002,
    "h": 341.1
  },
  "luminance": 0.09319
}

Semantic roles & 50–950 ramp

primary
#9D197C
secondary
#4DC56B
accent
#EF6639
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9D197C

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

Preview Lab → · Contrast checker → · Palette generator →

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