#9E1F59#9E1F59

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

Color values

HEX#9E1F59
RGBrgb(158, 31, 89)
HSLhsl(333, 67%, 37%)
HSVhsv(333, 80%, 62%)
CMYKcmyk(0%, 80.4%, 43.7%, 38%)
CIE-LABlab(35.93, 54.49, -1.64)
CIE-LCHlch(35.93, 54.51, 358.27°)
OKLaboklab(46.97% 0.1676 -0.0037)
OKLCHoklch(46.97% 0.168 358.7)
XYZxyz(16.3950, 8.9725, 10.3178)
Luminance0.0897 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F59 #1F9E64
analogous
#9E1F99 #9E1F59 #9E241F
triadic
#9E1F59 #599E1F #1F599E
tetradic
#9E1F59 #999E1F #1F9E64 #241F9E
square
#9E1F59 #999E1F #1F9E64 #241F9E
split-complementary
#9E1F59 #1F9E24 #1F999E
monochromatic
#380B1F #6B153C #9E1F59 #D12976 #DE5996

Accessibility & contrast

On white

7.52
#9E1F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1F59
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F59#FFFFFF#000000##FFFFFF
##9E1F591.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D455A
Deuteranopia (green-blind)
#5F5D56
Tritanopia (blue-blind)
#AC0239
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e1f59;
/* rgb */ color: rgb(158, 31, 89);
/* oklch */ color: oklch(47.0% 0.168 358.7);
Tailwind
colors: {
  custom: {
    50: '#c06987',
    500: '#9e1f59',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f59;
$custom-light: #c06987;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f59",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 89
  },
  "hsl": {
    "h": 332.598,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46972,
    "c": 0.16762,
    "h": 358.7
  },
  "luminance": 0.0897
}

Semantic roles & 50–950 ramp

primary
#9E1F59
secondary
#56C291
accent
#EA9B3E
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E1F59

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

Preview Lab → · Contrast checker → · Palette generator →

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