#9D3176#9D3176

#9D3176 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.6% C 0.160 H 345.3°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9D3176
RGBrgb(157, 49, 118)
HSLhsl(322, 52%, 40%)
HSVhsv(322, 69%, 62%)
CMYKcmyk(0%, 68.8%, 24.8%, 38.4%)
CIE-LABlab(39.03, 51.39, -15.37)
CIE-LCHlch(39.03, 53.64, 343.35°)
OKLaboklab(49.55% 0.1552 -0.0408)
OKLCHoklch(49.55% 0.16 345.3)
XYZxyz(18.2737, 10.6746, 18.2341)
Luminance0.1067 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3176 #319D58
analogous
#8E319D #9D3176 #9D3140
triadic
#9D3176 #769D31 #31769D
tetradic
#9D3176 #9D8E31 #319D58 #31409D
square
#9D3176 #9D8E31 #319D58 #31409D
split-complementary
#9D3176 #409D31 #319D8E
monochromatic
#401430 #6E2253 #9D3176 #C54697 #D475B1

Accessibility & contrast

On white

6.70
#9D3176 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9D3176 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3176
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3176#FFFFFF#000000##FFFFFF
##9D31761.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5078
Deuteranopia (green-blind)
#5D6373
Tritanopia (blue-blind)
#A72F4F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d3176;
/* rgb */ color: rgb(157, 49, 118);
/* oklch */ color: oklch(49.6% 0.160 345.3);
Tailwind
colors: {
  custom: {
    50: '#bd729d',
    500: '#9d3176',
    950: '#000000',
  },
}
SCSS
$custom: #9d3176;
$custom-light: #bd729d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3176",
  "rgb": {
    "r": 157,
    "g": 49,
    "b": 118
  },
  "hsl": {
    "h": 321.667,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49553,
    "c": 0.16046,
    "h": 345.3
  },
  "luminance": 0.10673
}

Semantic roles & 50–950 ramp

primary
#9D3176
secondary
#6EBC8A
accent
#DC804C
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D3176

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

Preview Lab → · Contrast checker → · Palette generator →

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