#9E1748#9E1748

#9E1748 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.169 H 6.6°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#9E1748
RGBrgb(158, 23, 72)
HSLhsl(338, 75%, 35%)
HSVhsv(338, 85%, 62%)
CMYKcmyk(0%, 85.4%, 54.4%, 38%)
CIE-LABlab(34.71, 55.07, 7.60)
CIE-LCHlch(34.71, 55.59, 7.86°)
OKLaboklab(45.91% 0.1682 0.0196)
OKLCHoklch(45.91% 0.169 6.6)
XYZxyz(15.5781, 8.3521, 6.9215)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1748 #179E6D
analogous
#9E178B #9E1748 #9E2917
triadic
#9E1748 #489E17 #17489E
tetradic
#9E1748 #8B9E17 #179E6D #29179E
square
#9E1748 #8B9E17 #179E6D #29179E
split-complementary
#9E1748 #179E29 #178B9E
monochromatic
#330717 #690F30 #9E1748 #D31F60 #E54B83

Accessibility & contrast

On white

7.87
#9E1748 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#9E1748 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1748
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1748#FFFFFF#000000##FFFFFF
##9E17481.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4149
Deuteranopia (green-blind)
#605B45
Tritanopia (blue-blind)
#AD002E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1748;
/* rgb */ color: rgb(158, 23, 72);
/* oklch */ color: oklch(45.9% 0.169 6.6);
Tailwind
colors: {
  custom: {
    50: '#c1667a',
    500: '#9e1748',
    950: '#000000',
  },
}
SCSS
$custom: #9e1748;
$custom-light: #c1667a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1748",
  "rgb": {
    "r": 158,
    "g": 23,
    "b": 72
  },
  "hsl": {
    "h": 338.222,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45911,
    "c": 0.16932,
    "h": 6.6
  },
  "luminance": 0.0835
}

Semantic roles & 50–950 ramp

primary
#9E1748
secondary
#4AC699
accent
#F1AD37
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #9E1748

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

Preview Lab → · Contrast checker → · Palette generator →

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