#9E1C5F#9E1C5F

#9E1C5F is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.0% C 0.173 H 355.3°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#9E1C5F
RGBrgb(158, 28, 95)
HSLhsl(329, 70%, 36%)
HSVhsv(329, 82%, 62%)
CMYKcmyk(0%, 82.3%, 39.9%, 38%)
CIE-LABlab(35.85, 55.92, -5.63)
CIE-LCHlch(35.85, 56.20, 354.26°)
OKLaboklab(46.98% 0.1721 -0.0141)
OKLCHoklch(46.98% 0.173 355.3)
XYZxyz(16.5825, 8.9280, 11.6743)
Luminance0.0893 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1C5F #1C9E5B
analogous
#9C1C9E #9E1C5F #9E1C1E
triadic
#9E1C5F #5F9E1C #1C5F9E
tetradic
#9E1C5F #9E9C1C #1C9E5B #1C1E9E
square
#9E1C5F #9E9C1C #1C9E5B #1C1E9E
split-complementary
#9E1C5F #1E9E1C #1C9E9C
monochromatic
#360A20 #6A1340 #9E1C5F #D2257E #E1549C

Accessibility & contrast

On white

7.54
#9E1C5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1C5F
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1C5F#FFFFFF#000000##FFFFFF
##9E1C5F1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e1c5f;
/* rgb */ color: rgb(158, 28, 95);
/* oklch */ color: oklch(47.0% 0.173 355.3);
Tailwind
colors: {
  custom: {
    50: '#c0688c',
    500: '#9e1c5f',
    950: '#000000',
  },
}
SCSS
$custom: #9e1c5f;
$custom-light: #c0688c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1c5f",
  "rgb": {
    "r": 158,
    "g": 28,
    "b": 95
  },
  "hsl": {
    "h": 329.077,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46976,
    "c": 0.17268,
    "h": 355.3
  },
  "luminance": 0.08926
}

Semantic roles & 50–950 ramp

primary
#9E1C5F
secondary
#52C489
accent
#ED913B
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9E1C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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