#9E1F57#9E1F57

#9E1F57 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.9% C 0.167 H 359.8°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#9E1F57
RGBrgb(158, 31, 87)
HSLhsl(334, 67%, 37%)
HSVhsv(334, 80%, 62%)
CMYKcmyk(0%, 80.4%, 44.9%, 38%)
CIE-LABlab(35.87, 54.29, -0.45)
CIE-LCHlch(35.87, 54.30, 359.52°)
OKLaboklab(46.9% 0.1669 -0.0006)
OKLCHoklch(46.9% 0.167 359.8)
XYZxyz(16.3121, 8.9394, 9.8815)
Luminance0.0894 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F57 #1F9E66
analogous
#9E1F97 #9E1F57 #9E261F
triadic
#9E1F57 #579E1F #1F579E
tetradic
#9E1F57 #979E1F #1F9E66 #261F9E
square
#9E1F57 #979E1F #1F9E66 #261F9E
split-complementary
#9E1F57 #1F9E26 #1F979E
monochromatic
#380B1F #6B153B #9E1F57 #D12973 #DE5994

Accessibility & contrast

On white

7.53
#9E1F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1F57
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F57#FFFFFF#000000##FFFFFF
##9E1F571.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4558
Deuteranopia (green-blind)
#5F5D54
Tritanopia (blue-blind)
#AC0038
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e1f57;
/* rgb */ color: rgb(158, 31, 87);
/* oklch */ color: oklch(46.9% 0.167 359.8);
Tailwind
colors: {
  custom: {
    50: '#c06986',
    500: '#9e1f57',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f57;
$custom-light: #c06986;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f57",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 87
  },
  "hsl": {
    "h": 333.543,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46904,
    "c": 0.16691,
    "h": 359.8
  },
  "luminance": 0.08937
}

Semantic roles & 50–950 ramp

primary
#9E1F57
secondary
#56C293
accent
#EA9E3E
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E1F57

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

Preview Lab → · Contrast checker → · Palette generator →

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