#9E1548#9E1548

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

Color values

HEX#9E1548
RGBrgb(158, 21, 72)
HSLhsl(338, 77%, 35%)
HSVhsv(338, 87%, 62%)
CMYKcmyk(0%, 86.7%, 54.4%, 38%)
CIE-LABlab(34.55, 55.52, 7.39)
CIE-LCHlch(34.55, 56.00, 7.58°)
OKLaboklab(45.8% 0.1696 0.0191)
OKLCHoklch(45.8% 0.171 6.4)
XYZxyz(15.5399, 8.2756, 6.9087)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1548 #159E6B
analogous
#9E158D #9E1548 #9E2615
triadic
#9E1548 #489E15 #15489E
tetradic
#9E1548 #8D9E15 #159E6B #26159E
square
#9E1548 #8D9E15 #159E6B #26159E
split-complementary
#9E1548 #159E26 #158D9E
monochromatic
#320717 #680E2F #9E1548 #D41C61 #E74782

Accessibility & contrast

On white

7.91
#9E1548 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1548
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1548#FFFFFF#000000##FFFFFF
##9E15481.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e1548;
/* rgb */ color: rgb(158, 21, 72);
/* oklch */ color: oklch(45.8% 0.171 6.4);
Tailwind
colors: {
  custom: {
    50: '#c1657a',
    500: '#9e1548',
    950: '#000000',
  },
}
SCSS
$custom: #9e1548;
$custom-light: #c1657a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1548",
  "rgb": {
    "r": 158,
    "g": 21,
    "b": 72
  },
  "hsl": {
    "h": 337.664,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45797,
    "c": 0.1707,
    "h": 6.4
  },
  "luminance": 0.08273
}

Semantic roles & 50–950 ramp

primary
#9E1548
secondary
#47C798
accent
#F3AC35
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #9E1548

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

Preview Lab → · Contrast checker → · Palette generator →

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