#9D2479#9D2479

#9D2479 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.5% C 0.178 H 342.9°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#9D2479
RGBrgb(157, 36, 121)
HSLhsl(318, 63%, 38%)
HSVhsv(318, 77%, 62%)
CMYKcmyk(0%, 77.1%, 22.9%, 38.4%)
CIE-LABlab(37.50, 56.45, -19.58)
CIE-LCHlch(37.50, 59.75, 340.87°)
OKLaboklab(48.49% 0.1701 -0.0525)
OKLCHoklch(48.49% 0.178 342.9)
XYZxyz(17.9874, 9.8122, 19.0321)
Luminance0.0981 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2479 #249D48
analogous
#84249D #9D2479 #9D243D
triadic
#9D2479 #799D24 #24799D
tetradic
#9D2479 #9D8424 #249D48 #243D9D
square
#9D2479 #9D8424 #249D48 #243D9D
split-complementary
#9D2479 #3D9D24 #249D84
monochromatic
#390D2C #6B1953 #9D2479 #CF2F9F #DB61B6

Accessibility & contrast

On white

7.09
#9D2479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9D2479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2479
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2479#FFFFFF#000000##FFFFFF
##9D24791.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314C7B
Deuteranopia (green-blind)
#575F76
Tritanopia (blue-blind)
#A7254C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d2479;
/* rgb */ color: rgb(157, 36, 121);
/* oklch */ color: oklch(48.5% 0.178 342.9);
Tailwind
colors: {
  custom: {
    50: '#be6ca0',
    500: '#9d2479',
    950: '#000000',
  },
}
SCSS
$custom: #9d2479;
$custom-light: #be6ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2479",
  "rgb": {
    "r": 157,
    "g": 36,
    "b": 121
  },
  "hsl": {
    "h": 317.851,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48485,
    "c": 0.17798,
    "h": 342.9
  },
  "luminance": 0.0981
}

Semantic roles & 50–950 ramp

primary
#9D2479
secondary
#5DC07A
accent
#E67342
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9D2479

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

Preview Lab → · Contrast checker → · Palette generator →

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