#9D1E77#9D1E77

#9D1E77 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.183 H 343.5°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#9D1E77
RGBrgb(157, 30, 119)
HSLhsl(318, 68%, 37%)
HSVhsv(318, 81%, 62%)
CMYKcmyk(0%, 80.9%, 24.2%, 38.4%)
CIE-LABlab(36.80, 57.94, -19.41)
CIE-LCHlch(36.80, 61.10, 341.48°)
OKLaboklab(47.95% 0.1751 -0.052)
OKLCHoklch(47.95% 0.183 343.5)
XYZxyz(17.6994, 9.4305, 18.3374)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E77 #1E9D44
analogous
#841E9D #9D1E77 #9D1E38
triadic
#9D1E77 #779D1E #1E779D
tetradic
#9D1E77 #9D841E #1E9D44 #1E389D
square
#9D1E77 #9D841E #1E9D44 #1E389D
split-complementary
#9D1E77 #389D1E #1E9D84
monochromatic
#360A29 #6A1450 #9D1E77 #D0289E #DF57B6

Accessibility & contrast

On white

7.28
#9D1E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9D1E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1E77
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E77#FFFFFF#000000##FFFFFF
##9D1E771.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4979
Deuteranopia (green-blind)
#565E74
Tritanopia (blue-blind)
#A81E49
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d1e77;
/* rgb */ color: rgb(157, 30, 119);
/* oklch */ color: oklch(47.9% 0.183 343.5);
Tailwind
colors: {
  custom: {
    50: '#be6a9e',
    500: '#9d1e77',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e77;
$custom-light: #be6a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e77",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 119
  },
  "hsl": {
    "h": 317.953,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47948,
    "c": 0.18269,
    "h": 343.5
  },
  "luminance": 0.09429
}

Semantic roles & 50–950 ramp

primary
#9D1E77
secondary
#54C275
accent
#EB713D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9D1E77

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

Preview Lab → · Contrast checker → · Palette generator →

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