#9E1948#9E1948

#9E1948 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.168 H 6.9°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#9E1948
RGBrgb(158, 25, 72)
HSLhsl(339, 73%, 36%)
HSVhsv(339, 84%, 62%)
CMYKcmyk(0%, 84.2%, 54.4%, 38%)
CIE-LABlab(34.87, 54.60, 7.84)
CIE-LCHlch(34.87, 55.15, 8.17°)
OKLaboklab(46.03% 0.1666 0.0202)
OKLCHoklch(46.03% 0.168 6.9)
XYZxyz(15.6194, 8.4345, 6.9352)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1948 #199E6F
analogous
#9E198A #9E1948 #9E2C19
triadic
#9E1948 #489E19 #19489E
tetradic
#9E1948 #8A9E19 #199E6F #2C199E
square
#9E1948 #8A9E19 #199E6F #2C199E
split-complementary
#9E1948 #199E2C #198A9E
monochromatic
#340818 #691130 #9E1948 #D32160 #E34E83

Accessibility & contrast

On white

7.82
#9E1948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9E1948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1948
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1948#FFFFFF#000000##FFFFFF
##9E19481.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4149
Deuteranopia (green-blind)
#615B45
Tritanopia (blue-blind)
#AD002F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1948;
/* rgb */ color: rgb(158, 25, 72);
/* oklch */ color: oklch(46.0% 0.168 6.9);
Tailwind
colors: {
  custom: {
    50: '#c1677a',
    500: '#9e1948',
    950: '#000000',
  },
}
SCSS
$custom: #9e1948;
$custom-light: #c1677a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1948",
  "rgb": {
    "r": 158,
    "g": 25,
    "b": 72
  },
  "hsl": {
    "h": 338.797,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46033,
    "c": 0.16786,
    "h": 6.9
  },
  "luminance": 0.08432
}

Semantic roles & 50–950 ramp

primary
#9E1948
secondary
#4EC59B
accent
#EFAF38
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #9E1948

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

Preview Lab → · Contrast checker → · Palette generator →

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