#9E1D6A#9E1D6A

#9E1D6A is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.5% C 0.177 H 349.9°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#9E1D6A
RGBrgb(158, 29, 106)
HSLhsl(324, 69%, 37%)
HSVhsv(324, 82%, 62%)
CMYKcmyk(0%, 81.6%, 32.9%, 38%)
CIE-LABlab(36.35, 56.86, -11.89)
CIE-LCHlch(36.35, 58.09, 348.19°)
OKLaboklab(47.48% 0.1742 -0.031)
OKLCHoklch(47.48% 0.177 349.9)
XYZxyz(17.1424, 9.1905, 14.5041)
Luminance0.0919 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D6A #1D9E51
analogous
#921D9E #9E1D6A #9E1D2A
triadic
#9E1D6A #6A9E1D #1D6A9E
tetradic
#9E1D6A #9E921D #1D9E51 #1D2A9E
square
#9E1D6A #9E921D #1D9E51 #1D2A9E
split-complementary
#9E1D6A #2A9E1D #1D9E92
monochromatic
#370A25 #6A1447 #9E1D6A #D2268D #E056A8

Accessibility & contrast

On white

7.40
#9E1D6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9E1D6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1D6A
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D6A#FFFFFF#000000##FFFFFF
##9E1D6A1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35476C
Deuteranopia (green-blind)
#5A5E67
Tritanopia (blue-blind)
#AA1242
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e1d6a;
/* rgb */ color: rgb(158, 29, 106);
/* oklch */ color: oklch(47.5% 0.177 349.9);
Tailwind
colors: {
  custom: {
    50: '#bf6994',
    500: '#9e1d6a',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d6a;
$custom-light: #bf6994;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d6a",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 106
  },
  "hsl": {
    "h": 324.186,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47476,
    "c": 0.17695,
    "h": 349.9
  },
  "luminance": 0.09188
}

Semantic roles & 50–950 ramp

primary
#9E1D6A
secondary
#54C381
accent
#EC833C
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9E1D6A

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

Preview Lab → · Contrast checker → · Palette generator →

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