#9A197C#9A197C

#9A197C is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.4% C 0.188 H 340.0°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#9A197C
RGBrgb(154, 25, 124)
HSLhsl(314, 72%, 35%)
HSVhsv(314, 84%, 60%)
CMYKcmyk(0%, 83.8%, 19.5%, 39.6%)
CIE-LABlab(36.03, 59.17, -23.79)
CIE-LCHlch(36.03, 63.78, 338.10°)
OKLaboklab(47.36% 0.177 -0.0643)
OKLCHoklch(47.36% 0.188 340)
XYZxyz(17.3127, 9.0223, 19.8946)
Luminance0.0902 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A197C #199A37
analogous
#77199A #9A197C #9A193C
triadic
#9A197C #7C9A19 #197C9A
tetradic
#9A197C #9A7719 #199A37 #193C9A
square
#9A197C #9A7719 #199A37 #193C9A
split-complementary
#9A197C #3C9A19 #199A77
monochromatic
#310827 #651052 #9A197C #CF22A6 #E24CBF

Accessibility & contrast

On white

7.49
#9A197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#9A197C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A197C
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A197C#FFFFFF#000000##FFFFFF
##9A197C1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25487E
Deuteranopia (green-blind)
#505C79
Tritanopia (blue-blind)
#A41F4B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9a197c;
/* rgb */ color: rgb(154, 25, 124);
/* oklch */ color: oklch(47.4% 0.188 340.0);
Tailwind
colors: {
  custom: {
    50: '#bc68a2',
    500: '#9a197c',
    950: '#000000',
  },
}
SCSS
$custom: #9a197c;
$custom-light: #bc68a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a197c",
  "rgb": {
    "r": 154,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 313.953,
    "s": 72.067,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47363,
    "c": 0.18833,
    "h": 340
  },
  "luminance": 0.09021
}

Semantic roles & 50–950 ramp

primary
#9A197C
secondary
#4BC467
accent
#EF6339
background
#FCF6FA
surface
#F8EBF3
border
#D1C6CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9A197C

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

Preview Lab → · Contrast checker → · Palette generator →

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