#9E1B47#9E1B47

#9E1B47 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.166 H 7.7°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#9E1B47
RGBrgb(158, 27, 71)
HSLhsl(340, 71%, 36%)
HSVhsv(340, 83%, 62%)
CMYKcmyk(0%, 82.9%, 55.1%, 38%)
CIE-LABlab(35.02, 54.01, 8.70)
CIE-LCHlch(35.02, 54.71, 9.15°)
OKLaboklab(46.14% 0.1646 0.0223)
OKLCHoklch(46.14% 0.166 7.7)
XYZxyz(15.6313, 8.5102, 6.7796)
Luminance0.0851 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B47 #1B9E72
analogous
#9E1B89 #9E1B47 #9E301B
triadic
#9E1B47 #479E1B #1B479E
tetradic
#9E1B47 #899E1B #1B9E72 #301B9E
square
#9E1B47 #899E1B #1B9E72 #301B9E
split-complementary
#9E1B47 #1B9E30 #1B899E
monochromatic
#350918 #6A1230 #9E1B47 #D2245E #E15282

Accessibility & contrast

On white

7.77
#9E1B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#9E1B47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1B47
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B47#FFFFFF#000000##FFFFFF
##9E1B471.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404248
Deuteranopia (green-blind)
#615C44
Tritanopia (blue-blind)
#AD002F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1b47;
/* rgb */ color: rgb(158, 27, 71);
/* oklch */ color: oklch(46.1% 0.166 7.7);
Tailwind
colors: {
  custom: {
    50: '#c16779',
    500: '#9e1b47',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b47;
$custom-light: #c16779;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b47",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 71
  },
  "hsl": {
    "h": 339.847,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46136,
    "c": 0.16611,
    "h": 7.7
  },
  "luminance": 0.08508
}

Semantic roles & 50–950 ramp

primary
#9E1B47
secondary
#51C49D
accent
#EEB13A
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #9E1B47

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

Preview Lab → · Contrast checker → · Palette generator →

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