#9D2279#9D2279

#9D2279 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.3% C 0.180 H 342.8°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#9D2279
RGBrgb(157, 34, 121)
HSLhsl(318, 64%, 37%)
HSVhsv(318, 78%, 62%)
CMYKcmyk(0%, 78.3%, 22.9%, 38.4%)
CIE-LABlab(37.29, 57.06, -19.91)
CIE-LCHlch(37.29, 60.43, 340.76°)
OKLaboklab(48.33% 0.172 -0.0534)
OKLCHoklch(48.33% 0.18 342.8)
XYZxyz(17.9285, 9.6945, 19.0125)
Luminance0.0969 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2279 #229D46
analogous
#84229D #9D2279 #9D223B
triadic
#9D2279 #799D22 #22799D
tetradic
#9D2279 #9D8422 #229D46 #223B9D
square
#9D2279 #9D8422 #229D46 #223B9D
split-complementary
#9D2279 #3B9D22 #229D84
monochromatic
#380C2B #6B1752 #9D2279 #CF2DA0 #DC5DB7

Accessibility & contrast

On white

7.15
#9D2279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9D2279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2279
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2279#FFFFFF#000000##FFFFFF
##9D22791.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304B7B
Deuteranopia (green-blind)
#565F76
Tritanopia (blue-blind)
#A7234B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d2279;
/* rgb */ color: rgb(157, 34, 121);
/* oklch */ color: oklch(48.3% 0.180 342.8);
Tailwind
colors: {
  custom: {
    50: '#be6ba0',
    500: '#9d2279',
    950: '#000000',
  },
}
SCSS
$custom: #9d2279;
$custom-light: #be6ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2279",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 317.561,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4833,
    "c": 0.18005,
    "h": 342.8
  },
  "luminance": 0.09693
}

Semantic roles & 50–950 ramp

primary
#9D2279
secondary
#5AC178
accent
#E77140
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9D2279

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

Preview Lab → · Contrast checker → · Palette generator →

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