#9D2780#9D2780

#9D2780 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.1% C 0.179 H 339.8°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#9D2780
RGBrgb(157, 39, 128)
HSLhsl(315, 60%, 38%)
HSVhsv(315, 75%, 62%)
CMYKcmyk(0%, 75.2%, 18.5%, 38.4%)
CIE-LABlab(38.16, 56.45, -22.91)
CIE-LCHlch(38.16, 60.92, 337.91°)
OKLaboklab(49.07% 0.1682 -0.0619)
OKLCHoklch(49.07% 0.179 339.8)
XYZxyz(18.5269, 10.1795, 21.4070)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2780 #279D44
analogous
#7F279D #9D2780 #9D2745
triadic
#9D2780 #809D27 #27809D
tetradic
#9D2780 #9D7F27 #279D44 #27459D
square
#9D2780 #9D7F27 #279D44 #27459D
split-complementary
#9D2780 #459D27 #279D7F
monochromatic
#3B0F30 #6C1B58 #9D2780 #CD35A7 #D966BD

Accessibility & contrast

On white

6.92
#9D2780 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9D2780 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2780
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2780#FFFFFF#000000##FFFFFF
##9D27801.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4E82
Deuteranopia (green-blind)
#56617D
Tritanopia (blue-blind)
#A62B50
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d2780;
/* rgb */ color: rgb(157, 39, 128);
/* oklch */ color: oklch(49.1% 0.179 339.8);
Tailwind
colors: {
  custom: {
    50: '#be6da5',
    500: '#9d2780',
    950: '#000000',
  },
}
SCSS
$custom: #9d2780;
$custom-light: #be6da5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2780",
  "rgb": {
    "r": 157,
    "g": 39,
    "b": 128
  },
  "hsl": {
    "h": 314.746,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49067,
    "c": 0.17925,
    "h": 339.8
  },
  "luminance": 0.10178
}

Semantic roles & 50–950 ramp

primary
#9D2780
secondary
#61BF78
accent
#E36C44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9D2780

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

Preview Lab → · Contrast checker → · Palette generator →

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