#9E1547#9E1547

#9E1547 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.170 H 6.9°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#9E1547
RGBrgb(158, 21, 71)
HSLhsl(338, 77%, 35%)
HSVhsv(338, 87%, 62%)
CMYKcmyk(0%, 86.7%, 55.1%, 38%)
CIE-LABlab(34.52, 55.44, 8.00)
CIE-LCHlch(34.52, 56.01, 8.21°)
OKLaboklab(45.77% 0.1693 0.0205)
OKLCHoklch(45.77% 0.17 6.9)
XYZxyz(15.5076, 8.2627, 6.7383)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1547 #159E6C
analogous
#9E158C #9E1547 #9E2715
triadic
#9E1547 #479E15 #15479E
tetradic
#9E1547 #8C9E15 #159E6C #27159E
square
#9E1547 #8C9E15 #159E6C #27159E
split-complementary
#9E1547 #159E27 #158C9E
monochromatic
#320716 #680E2F #9E1547 #D41C5F #E74781

Accessibility & contrast

On white

7.92
#9E1547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#9E1547 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1547
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1547#FFFFFF#000000##FFFFFF
##9E15471.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4048
Deuteranopia (green-blind)
#605B44
Tritanopia (blue-blind)
#AD002D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9e1547;
/* rgb */ color: rgb(158, 21, 71);
/* oklch */ color: oklch(45.8% 0.170 6.9);
Tailwind
colors: {
  custom: {
    50: '#c16579',
    500: '#9e1547',
    950: '#000000',
  },
}
SCSS
$custom: #9e1547;
$custom-light: #c16579;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1547",
  "rgb": {
    "r": 158,
    "g": 21,
    "b": 71
  },
  "hsl": {
    "h": 338.102,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45769,
    "c": 0.17049,
    "h": 6.9
  },
  "luminance": 0.0826
}

Semantic roles & 50–950 ramp

primary
#9E1547
secondary
#47C799
accent
#F3AE35
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #9E1547

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

Preview Lab → · Contrast checker → · Palette generator →

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