#9D2579#9D2579

#9D2579 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.6% C 0.177 H 342.9°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#9D2579
RGBrgb(157, 37, 121)
HSLhsl(318, 62%, 38%)
HSVhsv(318, 76%, 62%)
CMYKcmyk(0%, 76.4%, 22.9%, 38.4%)
CIE-LABlab(37.61, 56.13, -19.41)
CIE-LCHlch(37.61, 59.39, 340.93°)
OKLaboklab(48.57% 0.1691 -0.052)
OKLCHoklch(48.57% 0.177 342.9)
XYZxyz(18.0180, 9.8736, 19.0424)
Luminance0.0987 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2579 #259D49
analogous
#85259D #9D2579 #9D253D
triadic
#9D2579 #799D25 #25799D
tetradic
#9D2579 #9D8525 #259D49 #253D9D
square
#9D2579 #9D8525 #259D49 #253D9D
split-complementary
#9D2579 #3D9D25 #259D85
monochromatic
#3A0E2D #6B1953 #9D2579 #CE319F #DA62B6

Accessibility & contrast

On white

7.06
#9D2579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9D2579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2579
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2579#FFFFFF#000000##FFFFFF
##9D25791.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324C7B
Deuteranopia (green-blind)
#576076
Tritanopia (blue-blind)
#A7264C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d2579;
/* rgb */ color: rgb(157, 37, 121);
/* oklch */ color: oklch(48.6% 0.177 342.9);
Tailwind
colors: {
  custom: {
    50: '#be6ca0',
    500: '#9d2579',
    950: '#000000',
  },
}
SCSS
$custom: #9d2579;
$custom-light: #be6ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2579",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 318,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48566,
    "c": 0.17691,
    "h": 342.9
  },
  "luminance": 0.09872
}

Semantic roles & 50–950 ramp

primary
#9D2579
secondary
#5EBF7B
accent
#E57343
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9D2579

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

Preview Lab → · Contrast checker → · Palette generator →

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