#9D2076#9D2076

#9D2076 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.180 H 344.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#9D2076
RGBrgb(157, 32, 118)
HSLhsl(319, 66%, 37%)
HSVhsv(319, 80%, 62%)
CMYKcmyk(0%, 79.6%, 24.8%, 38.4%)
CIE-LABlab(36.95, 57.25, -18.55)
CIE-LCHlch(36.95, 60.18, 342.04°)
OKLaboklab(48.04% 0.1732 -0.0496)
OKLCHoklch(48.04% 0.18 344)
XYZxyz(17.6919, 9.5111, 18.0401)
Luminance0.0951 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2076 #209D47
analogous
#86209D #9D2076 #9D2038
triadic
#9D2076 #769D20 #20769D
tetradic
#9D2076 #9D8620 #209D47 #20389D
square
#9D2076 #9D8620 #209D47 #20389D
split-complementary
#9D2076 #389D20 #209D86
monochromatic
#370B2A #6A1650 #9D2076 #D02A9C #DD5AB4

Accessibility & contrast

On white

7.24
#9D2076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9D2076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2076
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2076#FFFFFF#000000##FFFFFF
##9D20761.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304A78
Deuteranopia (green-blind)
#575E73
Tritanopia (blue-blind)
#A81F49
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d2076;
/* rgb */ color: rgb(157, 32, 118);
/* oklch */ color: oklch(48.0% 0.180 344.0);
Tailwind
colors: {
  custom: {
    50: '#be6a9d',
    500: '#9d2076',
    950: '#000000',
  },
}
SCSS
$custom: #9d2076;
$custom-light: #be6a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2076",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 118
  },
  "hsl": {
    "h": 318.72,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48042,
    "c": 0.18019,
    "h": 344
  },
  "luminance": 0.09509
}

Semantic roles & 50–950 ramp

primary
#9D2076
secondary
#57C178
accent
#E9743F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9D2076

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

Preview Lab → · Contrast checker → · Palette generator →

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