#9A197D#9A197D

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

Color values

HEX#9A197D
RGBrgb(154, 25, 125)
HSLhsl(313, 72%, 35%)
HSVhsv(313, 84%, 60%)
CMYKcmyk(0%, 83.8%, 18.8%, 39.6%)
CIE-LABlab(36.08, 59.31, -24.34)
CIE-LCHlch(36.08, 64.11, 337.69°)
OKLaboklab(47.41% 0.1771 -0.0659)
OKLCHoklch(47.41% 0.189 339.6)
XYZxyz(17.3762, 9.0478, 20.2293)
Luminance0.0905 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A197D #199A36
analogous
#76199A #9A197D #9A193D
triadic
#9A197D #7D9A19 #197D9A
tetradic
#9A197D #9A7619 #199A36 #193D9A
square
#9A197D #9A7619 #199A36 #193D9A
split-complementary
#9A197D #3D9A19 #199A76
monochromatic
#310828 #651052 #9A197D #CF22A8 #E24CC0

Accessibility & contrast

On white

7.48
#9A197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#9A197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A197D
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A197D#FFFFFF#000000##FFFFFF
##9A197D1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24487F
Deuteranopia (green-blind)
#505C7A
Tritanopia (blue-blind)
#A31F4B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9a197d;
/* rgb */ color: rgb(154, 25, 125);
/* oklch */ color: oklch(47.4% 0.189 339.6);
Tailwind
colors: {
  custom: {
    50: '#bc68a3',
    500: '#9a197d',
    950: '#000000',
  },
}
SCSS
$custom: #9a197d;
$custom-light: #bc68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a197d",
  "rgb": {
    "r": 154,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 313.488,
    "s": 72.067,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47414,
    "c": 0.18897,
    "h": 339.6
  },
  "luminance": 0.09046
}

Semantic roles & 50–950 ramp

primary
#9A197D
secondary
#4BC466
accent
#EF6239
background
#FCF6FA
surface
#F8EBF3
border
#D1C6CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9A197D

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

Preview Lab → · Contrast checker → · Palette generator →

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