#9E1B46#9E1B46

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

Color values

HEX#9E1B46
RGBrgb(158, 27, 70)
HSLhsl(340, 71%, 36%)
HSVhsv(340, 83%, 62%)
CMYKcmyk(0%, 82.9%, 55.7%, 38%)
CIE-LABlab(35.00, 53.93, 9.32)
CIE-LCHlch(35.00, 54.73, 9.80°)
OKLaboklab(46.11% 0.1642 0.0237)
OKLCHoklch(46.11% 0.166 8.2)
XYZxyz(15.5995, 8.4975, 6.6119)
Luminance0.0849 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B46 #1B9E73
analogous
#9E1B88 #9E1B46 #9E311B
triadic
#9E1B46 #469E1B #1B469E
tetradic
#9E1B46 #889E1B #1B9E73 #311B9E
square
#9E1B46 #889E1B #1B9E73 #311B9E
split-complementary
#9E1B46 #1B9E31 #1B889E
monochromatic
#350918 #6A122F #9E1B46 #D2245D #E15281

Accessibility & contrast

On white

7.78
#9E1B46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1B46
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B46#FFFFFF#000000##FFFFFF
##9E1B461.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404247
Deuteranopia (green-blind)
#625C43
Tritanopia (blue-blind)
#AD002E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1b46;
/* rgb */ color: rgb(158, 27, 70);
/* oklch */ color: oklch(46.1% 0.166 8.2);
Tailwind
colors: {
  custom: {
    50: '#c16779',
    500: '#9e1b46',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b46;
$custom-light: #c16779;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b46",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 70
  },
  "hsl": {
    "h": 340.305,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46109,
    "c": 0.16593,
    "h": 8.2
  },
  "luminance": 0.08495
}

Semantic roles & 50–950 ramp

primary
#9E1B46
secondary
#51C49E
accent
#EEB33A
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #9E1B46

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

Preview Lab → · Contrast checker → · Palette generator →

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