#9E1B48#9E1B48

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

Color values

HEX#9E1B48
RGBrgb(158, 27, 72)
HSLhsl(339, 71%, 36%)
HSVhsv(339, 83%, 62%)
CMYKcmyk(0%, 82.9%, 54.4%, 38%)
CIE-LABlab(35.05, 54.09, 8.09)
CIE-LCHlch(35.05, 54.69, 8.50°)
OKLaboklab(46.16% 0.165 0.0208)
OKLCHoklch(46.16% 0.166 7.2)
XYZxyz(15.6637, 8.5231, 6.9500)
Luminance0.0852 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B48 #1B9E71
analogous
#9E1B8A #9E1B48 #9E2F1B
triadic
#9E1B48 #489E1B #1B489E
tetradic
#9E1B48 #8A9E1B #1B9E71 #2F1B9E
square
#9E1B48 #8A9E1B #1B9E71 #2F1B9E
split-complementary
#9E1B48 #1B9E2F #1B8A9E
monochromatic
#350918 #6A1230 #9E1B48 #D22460 #E15283

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E1B48#FFFFFF#000000##FFFFFF
##9E1B481.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)
#3F4249
Deuteranopia (green-blind)
#615C45
Tritanopia (blue-blind)
#AD002F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1b48;
/* rgb */ color: rgb(158, 27, 72);
/* oklch */ color: oklch(46.2% 0.166 7.2);
Tailwind
colors: {
  custom: {
    50: '#c1677a',
    500: '#9e1b48',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b48;
$custom-light: #c1677a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b48",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 72
  },
  "hsl": {
    "h": 339.389,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46163,
    "c": 0.1663,
    "h": 7.2
  },
  "luminance": 0.08521
}

Semantic roles & 50–950 ramp

primary
#9E1B48
secondary
#51C49C
accent
#EEB03A
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #9E1B48

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

Preview Lab → · Contrast checker → · Palette generator →

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