#9E1F49#9E1F49

#9E1F49 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.163 H 7.3°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#9E1F49
RGBrgb(158, 31, 73)
HSLhsl(340, 67%, 37%)
HSVhsv(340, 80%, 62%)
CMYKcmyk(0%, 80.4%, 53.8%, 38%)
CIE-LABlab(35.46, 53.06, 8.02)
CIE-LCHlch(35.46, 53.67, 8.59°)
OKLaboklab(46.48% 0.1618 0.0206)
OKLCHoklch(46.48% 0.163 7.3)
XYZxyz(15.7946, 8.7324, 7.1559)
Luminance0.0873 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F49 #1F9E74
analogous
#9E1F89 #9E1F49 #9E341F
triadic
#9E1F49 #499E1F #1F499E
tetradic
#9E1F49 #899E1F #1F9E74 #341F9E
square
#9E1F49 #899E1F #1F9E74 #341F9E
split-complementary
#9E1F49 #1F9E34 #1F899E
monochromatic
#380B1A #6B1531 #9E1F49 #D12961 #DE5985

Accessibility & contrast

On white

7.65
#9E1F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9E1F49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F49
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F49#FFFFFF#000000##FFFFFF
##9E1F491.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41434A
Deuteranopia (green-blind)
#625C46
Tritanopia (blue-blind)
#AD0032
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e1f49;
/* rgb */ color: rgb(158, 31, 73);
/* oklch */ color: oklch(46.5% 0.163 7.3);
Tailwind
colors: {
  custom: {
    50: '#c1697b',
    500: '#9e1f49',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f49;
$custom-light: #c1697b;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f49",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 73
  },
  "hsl": {
    "h": 340.157,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46477,
    "c": 0.16313,
    "h": 7.3
  },
  "luminance": 0.0873
}

Semantic roles & 50–950 ramp

primary
#9E1F49
secondary
#56C29F
accent
#EAB13E
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9E1F49

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

Preview Lab → · Contrast checker → · Palette generator →

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