#9E1F55#9E1F55

#9E1F55 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.8% C 0.166 H 0.9°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#9E1F55
RGBrgb(158, 31, 85)
HSLhsl(334, 67%, 37%)
HSVhsv(334, 80%, 62%)
CMYKcmyk(0%, 80.4%, 46.2%, 38%)
CIE-LABlab(35.80, 54.11, 0.75)
CIE-LCHlch(35.80, 54.11, 0.79°)
OKLaboklab(46.84% 0.1662 0.0025)
OKLCHoklch(46.84% 0.166 0.9)
XYZxyz(16.2316, 8.9072, 9.4571)
Luminance0.0891 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F55 #1F9E68
analogous
#9E1F95 #9E1F55 #9E281F
triadic
#9E1F55 #559E1F #1F559E
tetradic
#9E1F55 #959E1F #1F9E68 #281F9E
square
#9E1F55 #959E1F #1F9E68 #281F9E
split-complementary
#9E1F55 #1F9E28 #1F959E
monochromatic
#380B1E #6B1539 #9E1F55 #D12971 #DE5992

Accessibility & contrast

On white

7.55
#9E1F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#9E1F55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F55
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F55#FFFFFF#000000##FFFFFF
##9E1F551.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4556
Deuteranopia (green-blind)
#605D52
Tritanopia (blue-blind)
#AC0037
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e1f55;
/* rgb */ color: rgb(158, 31, 85);
/* oklch */ color: oklch(46.8% 0.166 0.9);
Tailwind
colors: {
  custom: {
    50: '#c06984',
    500: '#9e1f55',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f55;
$custom-light: #c06984;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f55",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 85
  },
  "hsl": {
    "h": 334.488,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46838,
    "c": 0.16625,
    "h": 0.9
  },
  "luminance": 0.08905
}

Semantic roles & 50–950 ramp

primary
#9E1F55
secondary
#56C294
accent
#EAA13E
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E1F55

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

Preview Lab → · Contrast checker → · Palette generator →

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