#9D1E6B#9D1E6B

#9D1E6B is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.176 H 349.2°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#9D1E6B
RGBrgb(157, 30, 107)
HSLhsl(324, 68%, 37%)
HSVhsv(324, 81%, 62%)
CMYKcmyk(0%, 80.9%, 31.8%, 38.4%)
CIE-LABlab(36.29, 56.45, -12.63)
CIE-LCHlch(36.29, 57.85, 347.39°)
OKLaboklab(47.41% 0.1727 -0.0331)
OKLCHoklch(47.41% 0.176 349.2)
XYZxyz(17.0237, 9.1602, 14.7787)
Luminance0.0916 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E6B #1E9D50
analogous
#901E9D #9D1E6B #9D1E2C
triadic
#9D1E6B #6B9D1E #1E6B9D
tetradic
#9D1E6B #9D901E #1E9D50 #1E2C9D
square
#9D1E6B #9D901E #1E9D50 #1E2C9D
split-complementary
#9D1E6B #2C9D1E #1E9D90
monochromatic
#360A25 #6A1448 #9D1E6B #D0288E #DF57A9

Accessibility & contrast

On white

7.42
#9D1E6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#9D1E6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1E6B
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E6B#FFFFFF#000000##FFFFFF
##9D1E6B1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34476D
Deuteranopia (green-blind)
#5A5D68
Tritanopia (blue-blind)
#A91542
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9d1e6b;
/* rgb */ color: rgb(157, 30, 107);
/* oklch */ color: oklch(47.4% 0.176 349.2);
Tailwind
colors: {
  custom: {
    50: '#be6995',
    500: '#9d1e6b',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e6b;
$custom-light: #be6995;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e6b",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 107
  },
  "hsl": {
    "h": 323.622,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47412,
    "c": 0.17588,
    "h": 349.2
  },
  "luminance": 0.09158
}

Semantic roles & 50–950 ramp

primary
#9D1E6B
secondary
#54C280
accent
#EB813D
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9D1E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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