#9A197E#9A197E

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

Color values

HEX#9A197E
RGBrgb(154, 25, 126)
HSLhsl(313, 72%, 35%)
HSVhsv(313, 84%, 60%)
CMYKcmyk(0%, 83.8%, 18.2%, 39.6%)
CIE-LABlab(36.13, 59.45, -24.88)
CIE-LCHlch(36.13, 64.44, 337.29°)
OKLaboklab(47.47% 0.1772 -0.0675)
OKLCHoklch(47.47% 0.19 339.2)
XYZxyz(17.4404, 9.0734, 20.5675)
Luminance0.0907 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A197E #199A35
analogous
#75199A #9A197E #9A193E
triadic
#9A197E #7E9A19 #197E9A
tetradic
#9A197E #9A7519 #199A35 #193E9A
square
#9A197E #9A7519 #199A35 #193E9A
split-complementary
#9A197E #3E9A19 #199A75
monochromatic
#310828 #651053 #9A197E #CF22A9 #E24CC1

Accessibility & contrast

On white

7.46
#9A197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A197E
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A197E#FFFFFF#000000##FFFFFF
##9A197E1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234881
Deuteranopia (green-blind)
#505C7B
Tritanopia (blue-blind)
#A3204C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9a197e;
/* rgb */ color: rgb(154, 25, 126);
/* oklch */ color: oklch(47.5% 0.190 339.2);
Tailwind
colors: {
  custom: {
    50: '#bc68a3',
    500: '#9a197e',
    950: '#000000',
  },
}
SCSS
$custom: #9a197e;
$custom-light: #bc68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a197e",
  "rgb": {
    "r": 154,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 313.023,
    "s": 72.067,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47466,
    "c": 0.18961,
    "h": 339.2
  },
  "luminance": 0.09072
}

Semantic roles & 50–950 ramp

primary
#9A197E
secondary
#4BC465
accent
#EF6039
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9A197E

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

Preview Lab → · Contrast checker → · Palette generator →

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