#9E1F50#9E1F50

#9E1F50 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.165 H 3.5°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#9E1F50
RGBrgb(158, 31, 80)
HSLhsl(337, 67%, 37%)
HSVhsv(337, 80%, 62%)
CMYKcmyk(0%, 80.4%, 49.4%, 38%)
CIE-LABlab(35.66, 53.65, 3.76)
CIE-LCHlch(35.66, 53.78, 4.01°)
OKLaboklab(46.68% 0.1645 0.0102)
OKLCHoklch(46.68% 0.165 3.5)
XYZxyz(16.0399, 8.8305, 8.4477)
Luminance0.0883 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F50 #1F9E6D
analogous
#9E1F90 #9E1F50 #9E2D1F
triadic
#9E1F50 #509E1F #1F509E
tetradic
#9E1F50 #909E1F #1F9E6D #2D1F9E
square
#9E1F50 #909E1F #1F9E6D #2D1F9E
split-complementary
#9E1F50 #1F9E2D #1F909E
monochromatic
#380B1C #6B1536 #9E1F50 #D1296A #DE598C

Accessibility & contrast

On white

7.59
#9E1F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9E1F50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F50
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F50#FFFFFF#000000##FFFFFF
##9E1F501.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4451
Deuteranopia (green-blind)
#615D4D
Tritanopia (blue-blind)
#AC0035
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e1f50;
/* rgb */ color: rgb(158, 31, 80);
/* oklch */ color: oklch(46.7% 0.165 3.5);
Tailwind
colors: {
  custom: {
    50: '#c06980',
    500: '#9e1f50',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f50;
$custom-light: #c06980;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f50",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 80
  },
  "hsl": {
    "h": 336.85,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4668,
    "c": 0.16476,
    "h": 3.5
  },
  "luminance": 0.08828
}

Semantic roles & 50–950 ramp

primary
#9E1F50
secondary
#56C299
accent
#EAA83E
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E1F50

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

Preview Lab → · Contrast checker → · Palette generator →

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