#9B197A#9B197A

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

Color values

HEX#9B197A
RGBrgb(155, 25, 122)
HSLhsl(315, 72%, 35%)
HSVhsv(315, 84%, 61%)
CMYKcmyk(0%, 83.9%, 21.3%, 39.2%)
CIE-LABlab(36.12, 59.13, -22.38)
CIE-LCHlch(36.12, 63.23, 339.27°)
OKLaboklab(47.43% 0.1777 -0.0603)
OKLCHoklch(47.43% 0.188 341.2)
XYZxyz(17.3787, 9.0708, 19.2442)
Luminance0.0907 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B197A #199B3A
analogous
#7B199B #9B197A #9B1939
triadic
#9B197A #7A9B19 #197A9B
tetradic
#9B197A #9B7B19 #199B3A #19399B
square
#9B197A #9B7B19 #199B3A #19399B
split-complementary
#9B197A #399B19 #199B7B
monochromatic
#320827 #661151 #9B197A #D022A3 #E24CBC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B197A#FFFFFF#000000##FFFFFF
##9B197A1.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)
#27487C
Deuteranopia (green-blind)
#525C77
Tritanopia (blue-blind)
#A51D49
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9b197a;
/* rgb */ color: rgb(155, 25, 122);
/* oklch */ color: oklch(47.4% 0.188 341.2);
Tailwind
colors: {
  custom: {
    50: '#bd68a0',
    500: '#9b197a',
    950: '#000000',
  },
}
SCSS
$custom: #9b197a;
$custom-light: #bd68a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b197a",
  "rgb": {
    "r": 155,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 315.231,
    "s": 72.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47434,
    "c": 0.18763,
    "h": 341.2
  },
  "luminance": 0.09069
}

Semantic roles & 50–950 ramp

primary
#9B197A
secondary
#4CC46A
accent
#EF6739
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070F
muted
#827A7E

Preview Lab

Preview with #9B197A

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

Preview Lab → · Contrast checker → · Palette generator →

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