#9E1D5F#9E1D5F

#9E1D5F is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.0% C 0.172 H 355.4°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#9E1D5F
RGBrgb(158, 29, 95)
HSLhsl(329, 69%, 37%)
HSVhsv(329, 82%, 62%)
CMYKcmyk(0%, 81.6%, 39.9%, 38%)
CIE-LABlab(35.94, 55.65, -5.49)
CIE-LCHlch(35.94, 55.92, 354.37°)
OKLaboklab(47.04% 0.1713 -0.0138)
OKLCHoklch(47.04% 0.172 355.4)
XYZxyz(16.6067, 8.9762, 11.6823)
Luminance0.0897 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D5F #1D9E5C
analogous
#9D1D9E #9E1D5F #9E1D1F
triadic
#9E1D5F #5F9E1D #1D5F9E
tetradic
#9E1D5F #9E9D1D #1D9E5C #1D1F9E
square
#9E1D5F #9E9D1D #1D9E5C #1D1F9E
split-complementary
#9E1D5F #1F9E1D #1D9E9D
monochromatic
#370A21 #6A1440 #9E1D5F #D2267E #E0569C

Accessibility & contrast

On white

7.51
#9E1D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#9E1D5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1D5F
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D5F#FFFFFF#000000##FFFFFF
##9E1D5F1.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394561
Deuteranopia (green-blind)
#5D5D5C
Tritanopia (blue-blind)
#AB053C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e1d5f;
/* rgb */ color: rgb(158, 29, 95);
/* oklch */ color: oklch(47.0% 0.172 355.4);
Tailwind
colors: {
  custom: {
    50: '#c0698c',
    500: '#9e1d5f',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d5f;
$custom-light: #c0698c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d5f",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 95
  },
  "hsl": {
    "h": 329.302,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47044,
    "c": 0.1718,
    "h": 355.4
  },
  "luminance": 0.08974
}

Semantic roles & 50–950 ramp

primary
#9E1D5F
secondary
#54C38A
accent
#EC923C
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9E1D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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