#9E1E4C#9E1E4C

#9E1E4C is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.165 H 5.5°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#9E1E4C
RGBrgb(158, 30, 76)
HSLhsl(338, 68%, 37%)
HSVhsv(338, 81%, 62%)
CMYKcmyk(0%, 81%, 51.9%, 38%)
CIE-LABlab(35.44, 53.60, 6.05)
CIE-LCHlch(35.44, 53.94, 6.44°)
OKLaboklab(46.49% 0.1639 0.0158)
OKLCHoklch(46.49% 0.165 5.5)
XYZxyz(15.8708, 8.7217, 7.6838)
Luminance0.0872 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1E4C #1E9E70
analogous
#9E1E8C #9E1E4C #9E301E
triadic
#9E1E4C #4C9E1E #1E4C9E
tetradic
#9E1E4C #8C9E1E #1E9E70 #301E9E
square
#9E1E4C #8C9E1E #1E9E70 #301E9E
split-complementary
#9E1E4C #1E9E30 #1E8C9E
monochromatic
#370A1B #6B1433 #9E1E4C #D12865 #DF5788

Accessibility & contrast

On white

7.65
#9E1E4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#9E1E4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1E4C
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1E4C#FFFFFF#000000##FFFFFF
##9E1E4C1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40434D
Deuteranopia (green-blind)
#615C49
Tritanopia (blue-blind)
#AD0033
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e1e4c;
/* rgb */ color: rgb(158, 30, 76);
/* oklch */ color: oklch(46.5% 0.165 5.5);
Tailwind
colors: {
  custom: {
    50: '#c1687d',
    500: '#9e1e4c',
    950: '#000000',
  },
}
SCSS
$custom: #9e1e4c;
$custom-light: #c1687d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1e4c",
  "rgb": {
    "r": 158,
    "g": 30,
    "b": 76
  },
  "hsl": {
    "h": 338.438,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46487,
    "c": 0.16465,
    "h": 5.5
  },
  "luminance": 0.08719
}

Semantic roles & 50–950 ramp

primary
#9E1E4C
secondary
#55C39B
accent
#EBAC3D
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9E1E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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