#9D1E76#9D1E76

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

Color values

HEX#9D1E76
RGBrgb(157, 30, 118)
HSLhsl(318, 68%, 37%)
HSVhsv(318, 81%, 62%)
CMYKcmyk(0%, 80.9%, 24.8%, 38.4%)
CIE-LABlab(36.76, 57.81, -18.85)
CIE-LCHlch(36.76, 60.80, 341.94°)
OKLaboklab(47.9% 0.175 -0.0504)
OKLCHoklch(47.9% 0.182 343.9)
XYZxyz(17.6397, 9.4066, 18.0227)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E76 #1E9D45
analogous
#851E9D #9D1E76 #9D1E37
triadic
#9D1E76 #769D1E #1E769D
tetradic
#9D1E76 #9D851E #1E9D45 #1E379D
square
#9D1E76 #9D851E #1E9D45 #1E379D
split-complementary
#9D1E76 #379D1E #1E9D85
monochromatic
#360A29 #6A144F #9D1E76 #D0289D #DF57B5

Accessibility & contrast

On white

7.29
#9D1E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9D1E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1E76
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E76#FFFFFF#000000##FFFFFF
##9D1E761.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4978
Deuteranopia (green-blind)
#565E73
Tritanopia (blue-blind)
#A81D48
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d1e76;
/* rgb */ color: rgb(157, 30, 118);
/* oklch */ color: oklch(47.9% 0.182 343.9);
Tailwind
colors: {
  custom: {
    50: '#be6a9d',
    500: '#9d1e76',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e76;
$custom-light: #be6a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e76",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 118
  },
  "hsl": {
    "h": 318.425,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47901,
    "c": 0.18208,
    "h": 343.9
  },
  "luminance": 0.09405
}

Semantic roles & 50–950 ramp

primary
#9D1E76
secondary
#54C276
accent
#EB723D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9D1E76

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

Preview Lab → · Contrast checker → · Palette generator →

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