#9E1F5D#9E1F5D

#9E1F5D is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.1% C 0.169 H 356.7°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#9E1F5D
RGBrgb(158, 31, 93)
HSLhsl(331, 67%, 37%)
HSVhsv(331, 80%, 62%)
CMYKcmyk(0%, 80.4%, 41.1%, 38%)
CIE-LABlab(36.06, 54.89, -4.02)
CIE-LCHlch(36.06, 55.04, 355.81°)
OKLaboklab(47.11% 0.1689 -0.0099)
OKLCHoklch(47.11% 0.169 356.7)
XYZxyz(16.5675, 9.0415, 11.2266)
Luminance0.0904 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F5D #1F9E60
analogous
#9E1F9D #9E1F5D #9E211F
triadic
#9E1F5D #5D9E1F #1F5D9E
tetradic
#9E1F5D #9D9E1F #1F9E60 #211F9E
square
#9E1F5D #9D9E1F #1F9E60 #211F9E
split-complementary
#9E1F5D #1F9E21 #1F9D9E
monochromatic
#380B21 #6B153F #9E1F5D #D1297B #DE599A

Accessibility & contrast

On white

7.48
#9E1F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#9E1F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F5D
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F5D#FFFFFF#000000##FFFFFF
##9E1F5D1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B465E
Deuteranopia (green-blind)
#5E5D5A
Tritanopia (blue-blind)
#AB073B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e1f5d;
/* rgb */ color: rgb(158, 31, 93);
/* oklch */ color: oklch(47.1% 0.169 356.7);
Tailwind
colors: {
  custom: {
    50: '#c0698a',
    500: '#9e1f5d',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f5d;
$custom-light: #c0698a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f5d",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 93
  },
  "hsl": {
    "h": 330.709,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47113,
    "c": 0.16915,
    "h": 356.7
  },
  "luminance": 0.09039
}

Semantic roles & 50–950 ramp

primary
#9E1F5D
secondary
#56C28E
accent
#EA963E
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E1F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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