#9A197F#9A197F

#9A197F is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.5% C 0.190 H 338.7°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#9A197F
RGBrgb(154, 25, 127)
HSLhsl(313, 72%, 35%)
HSVhsv(313, 84%, 60%)
CMYKcmyk(0%, 83.8%, 17.5%, 39.6%)
CIE-LABlab(36.17, 59.58, -25.43)
CIE-LCHlch(36.17, 64.78, 336.89°)
OKLaboklab(47.52% 0.1773 -0.069)
OKLCHoklch(47.52% 0.19 338.7)
XYZxyz(17.5053, 9.0994, 20.9090)
Luminance0.0910 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A197F #199A34
analogous
#74199A #9A197F #9A193F
triadic
#9A197F #7F9A19 #197F9A
tetradic
#9A197F #9A7419 #199A34 #193F9A
square
#9A197F #9A7419 #199A34 #193F9A
split-complementary
#9A197F #3F9A19 #199A74
monochromatic
#310828 #651054 #9A197F #CF22AA #E24CC2

Accessibility & contrast

On white

7.45
#9A197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#9A197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A197F
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A197F#FFFFFF#000000##FFFFFF
##9A197F1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224882
Deuteranopia (green-blind)
#4F5C7C
Tritanopia (blue-blind)
#A3214C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9a197f;
/* rgb */ color: rgb(154, 25, 127);
/* oklch */ color: oklch(47.5% 0.190 338.7);
Tailwind
colors: {
  custom: {
    50: '#bc68a4',
    500: '#9a197f',
    950: '#000000',
  },
}
SCSS
$custom: #9a197f;
$custom-light: #bc68a4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a197f",
  "rgb": {
    "r": 154,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 312.558,
    "s": 72.067,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47517,
    "c": 0.19026,
    "h": 338.7
  },
  "luminance": 0.09098
}

Semantic roles & 50–950 ramp

primary
#9A197F
secondary
#4BC464
accent
#EF5F39
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9A197F

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

Preview Lab → · Contrast checker → · Palette generator →

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