#9D3170#9D3170

#9D3170 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.3% C 0.157 H 348.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9D3170
RGBrgb(157, 49, 112)
HSLhsl(325, 52%, 40%)
HSVhsv(325, 69%, 62%)
CMYKcmyk(0%, 68.8%, 28.7%, 38.4%)
CIE-LABlab(38.79, 50.59, -11.98)
CIE-LCHlch(38.79, 51.99, 346.68°)
OKLaboklab(49.3% 0.1537 -0.0314)
OKLCHoklch(49.3% 0.157 348.4)
XYZxyz(17.9284, 10.5365, 16.4157)
Luminance0.1053 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3170 #319D5E
analogous
#94319D #9D3170 #9D313A
triadic
#9D3170 #709D31 #31709D
tetradic
#9D3170 #9D9431 #319D5E #313A9D
square
#9D3170 #9D9431 #319D5E #313A9D
split-complementary
#9D3170 #3A9D31 #319D94
monochromatic
#40142D #6E224F #9D3170 #C54690 #D475AC

Accessibility & contrast

On white

6.76
#9D3170 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9D3170 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3170
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3170#FFFFFF#000000##FFFFFF
##9D31701.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4F72
Deuteranopia (green-blind)
#5F626D
Tritanopia (blue-blind)
#A82D4C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d3170;
/* rgb */ color: rgb(157, 49, 112);
/* oklch */ color: oklch(49.3% 0.157 348.4);
Tailwind
colors: {
  custom: {
    50: '#be7199',
    500: '#9d3170',
    950: '#000000',
  },
}
SCSS
$custom: #9d3170;
$custom-light: #be7199;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3170",
  "rgb": {
    "r": 157,
    "g": 49,
    "b": 112
  },
  "hsl": {
    "h": 325,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.493,
    "c": 0.1569,
    "h": 348.4
  },
  "luminance": 0.10535
}

Semantic roles & 50–950 ramp

primary
#9D3170
secondary
#6EBC8E
accent
#DC884C
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9D3170

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

Preview Lab → · Contrast checker → · Palette generator →

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