#9D2979#9D2979

#9D2979 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.9% C 0.172 H 343.1°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9D2979
RGBrgb(157, 41, 121)
HSLhsl(319, 59%, 39%)
HSVhsv(319, 74%, 62%)
CMYKcmyk(0%, 73.9%, 22.9%, 38.4%)
CIE-LABlab(38.09, 54.80, -18.68)
CIE-LCHlch(38.09, 57.89, 341.18°)
OKLaboklab(48.91% 0.165 -0.05)
OKLCHoklch(48.91% 0.172 343.1)
XYZxyz(18.1494, 10.1363, 19.0861)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2979 #299D4D
analogous
#87299D #9D2979 #9D293F
triadic
#9D2979 #799D29 #29799D
tetradic
#9D2979 #9D8729 #299D4D #293F9D
square
#9D2979 #9D8729 #299D4D #293F9D
split-complementary
#9D2979 #3F9D29 #299D87
monochromatic
#3C102E #6C1C54 #9D2979 #CB389D #D869B5

Accessibility & contrast

On white

6.94
#9D2979 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9D2979 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2979
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2979#FFFFFF#000000##FFFFFF
##9D29791.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354D7B
Deuteranopia (green-blind)
#596176
Tritanopia (blue-blind)
#A7294D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d2979;
/* rgb */ color: rgb(157, 41, 121);
/* oklch */ color: oklch(48.9% 0.172 343.1);
Tailwind
colors: {
  custom: {
    50: '#be6ea0',
    500: '#9d2979',
    950: '#000000',
  },
}
SCSS
$custom: #9d2979;
$custom-light: #be6ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2979",
  "rgb": {
    "r": 157,
    "g": 41,
    "b": 121
  },
  "hsl": {
    "h": 318.621,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48908,
    "c": 0.1724,
    "h": 343.1
  },
  "luminance": 0.10134
}

Semantic roles & 50–950 ramp

primary
#9D2979
secondary
#64BE80
accent
#E27646
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2979

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

Preview Lab → · Contrast checker → · Palette generator →

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