#9D1E7F#9D1E7F

#9D1E7F is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.3% C 0.188 H 339.9°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#9D1E7F
RGBrgb(157, 30, 127)
HSLhsl(314, 68%, 37%)
HSVhsv(314, 81%, 62%)
CMYKcmyk(0%, 80.9%, 19.1%, 38.4%)
CIE-LABlab(37.17, 59.01, -23.83)
CIE-LCHlch(37.17, 63.64, 338.01°)
OKLaboklab(48.34% 0.1763 -0.0644)
OKLCHoklch(48.34% 0.188 339.9)
XYZxyz(18.2002, 9.6308, 20.9750)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E7F #1E9D3C
analogous
#7C1E9D #9D1E7F #9D1E40
triadic
#9D1E7F #7F9D1E #1E7F9D
tetradic
#9D1E7F #9D7C1E #1E9D3C #1E409D
square
#9D1E7F #9D7C1E #1E9D3C #1E409D
split-complementary
#9D1E7F #409D1E #1E9D7C
monochromatic
#360A2C #6A1455 #9D1E7F #D028A9 #DF57BF

Accessibility & contrast

On white

7.18
#9D1E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9D1E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1E7F
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E7F#FFFFFF#000000##FFFFFF
##9D1E7F1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284B81
Deuteranopia (green-blind)
#535F7C
Tritanopia (blue-blind)
#A7234D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d1e7f;
/* rgb */ color: rgb(157, 30, 127);
/* oklch */ color: oklch(48.3% 0.188 339.9);
Tailwind
colors: {
  custom: {
    50: '#be6aa4',
    500: '#9d1e7f',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e7f;
$custom-light: #be6aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e7f",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 127
  },
  "hsl": {
    "h": 314.173,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48336,
    "c": 0.18768,
    "h": 339.9
  },
  "luminance": 0.09629
}

Semantic roles & 50–950 ramp

primary
#9D1E7F
secondary
#54C26E
accent
#EB663D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9D1E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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