#9D3479#9D3479

#9D3479 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.0% C 0.158 H 344.0°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9D3479
RGBrgb(157, 52, 121)
HSLhsl(321, 50%, 41%)
HSVhsv(321, 67%, 62%)
CMYKcmyk(0%, 66.9%, 22.9%, 38.4%)
CIE-LABlab(39.59, 50.59, -16.37)
CIE-LCHlch(39.59, 53.17, 342.07°)
OKLaboklab(50.01% 0.1521 -0.0436)
OKLCHoklch(50.01% 0.158 344)
XYZxyz(18.5844, 11.0064, 19.2311)
Luminance0.1100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3479 #349D58
analogous
#8C349D #9D3479 #9D3445
triadic
#9D3479 #799D34 #34799D
tetradic
#9D3479 #9D8C34 #349D58 #34459D
square
#9D3479 #9D8C34 #349D58 #34459D
split-complementary
#9D3479 #459D34 #349D8C
monochromatic
#411632 #6F2556 #9D3479 #C34B9A #D379B4

Accessibility & contrast

On white

6.56
#9D3479 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9D3479 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3479
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3479#FFFFFF#000000##FFFFFF
##9D34791.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E527B
Deuteranopia (green-blind)
#5D6476
Tritanopia (blue-blind)
#A73452
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d3479;
/* rgb */ color: rgb(157, 52, 121);
/* oklch */ color: oklch(50.0% 0.158 344.0);
Tailwind
colors: {
  custom: {
    50: '#bd739f',
    500: '#9d3479',
    950: '#000000',
  },
}
SCSS
$custom: #9d3479;
$custom-light: #bd739f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3479",
  "rgb": {
    "r": 157,
    "g": 52,
    "b": 121
  },
  "hsl": {
    "h": 320.571,
    "s": 50.239,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50007,
    "c": 0.15824,
    "h": 344
  },
  "luminance": 0.11005
}

Semantic roles & 50–950 ramp

primary
#9D3479
secondary
#72BB8B
accent
#DA7E4E
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12090E
muted
#817B7E

Preview Lab

Preview with #9D3479

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

Preview Lab → · Contrast checker → · Palette generator →

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