#9D2879#9D2879

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

Color values

HEX#9D2879
RGBrgb(157, 40, 121)
HSLhsl(318, 59%, 39%)
HSVhsv(318, 75%, 62%)
CMYKcmyk(0%, 74.5%, 22.9%, 38.4%)
CIE-LABlab(37.96, 55.14, -18.87)
CIE-LCHlch(37.96, 58.28, 341.11°)
OKLaboklab(48.82% 0.1661 -0.0505)
OKLCHoklch(48.82% 0.174 343.1)
XYZxyz(18.1153, 10.0680, 19.0748)
Luminance0.1007 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2879 #289D4C
analogous
#86289D #9D2879 #9D283E
triadic
#9D2879 #799D28 #28799D
tetradic
#9D2879 #9D8628 #289D4C #283E9D
square
#9D2879 #9D8628 #289D4C #283E9D
split-complementary
#9D2879 #3E9D28 #289D86
monochromatic
#3B0F2E #6C1C53 #9D2879 #CC369E #D867B5

Accessibility & contrast

On white

6.97
#9D2879 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9D2879 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2879
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2879#FFFFFF#000000##FFFFFF
##9D28791.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344D7B
Deuteranopia (green-blind)
#586076
Tritanopia (blue-blind)
#A7284D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d2879;
/* rgb */ color: rgb(157, 40, 121);
/* oklch */ color: oklch(48.8% 0.174 343.1);
Tailwind
colors: {
  custom: {
    50: '#be6ea0',
    500: '#9d2879',
    950: '#000000',
  },
}
SCSS
$custom: #9d2879;
$custom-light: #be6ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2879",
  "rgb": {
    "r": 157,
    "g": 40,
    "b": 121
  },
  "hsl": {
    "h": 318.462,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4882,
    "c": 0.17356,
    "h": 343.1
  },
  "luminance": 0.10066
}

Semantic roles & 50–950 ramp

primary
#9D2879
secondary
#62BE7F
accent
#E37645
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2879

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

Preview Lab → · Contrast checker → · Palette generator →

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