#9D1E78#9D1E78

#9D1E78 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.183 H 343.0°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#9D1E78
RGBrgb(157, 30, 120)
HSLhsl(317, 68%, 37%)
HSVhsv(317, 81%, 62%)
CMYKcmyk(0%, 80.9%, 23.6%, 38.4%)
CIE-LABlab(36.85, 58.07, -19.97)
CIE-LCHlch(36.85, 61.41, 341.02°)
OKLaboklab(48% 0.1753 -0.0535)
OKLCHoklch(48% 0.183 343)
XYZxyz(17.7598, 9.4546, 18.6553)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E78 #1E9D43
analogous
#831E9D #9D1E78 #9D1E39
triadic
#9D1E78 #789D1E #1E789D
tetradic
#9D1E78 #9D831E #1E9D43 #1E399D
square
#9D1E78 #9D831E #1E9D43 #1E399D
split-complementary
#9D1E78 #399D1E #1E9D83
monochromatic
#360A29 #6A1451 #9D1E78 #D0289F #DF57B7

Accessibility & contrast

On white

7.26
#9D1E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1E78
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E78#FFFFFF#000000##FFFFFF
##9D1E781.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D497A
Deuteranopia (green-blind)
#565E75
Tritanopia (blue-blind)
#A71F4A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d1e78;
/* rgb */ color: rgb(157, 30, 120);
/* oklch */ color: oklch(48.0% 0.183 343.0);
Tailwind
colors: {
  custom: {
    50: '#be6a9f',
    500: '#9d1e78',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e78;
$custom-light: #be6a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e78",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 120
  },
  "hsl": {
    "h": 317.48,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47995,
    "c": 0.18329,
    "h": 343
  },
  "luminance": 0.09453
}

Semantic roles & 50–950 ramp

primary
#9D1E78
secondary
#54C274
accent
#EB703D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9D1E78

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

Preview Lab → · Contrast checker → · Palette generator →

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