#9E3151#9E3151

#9E3151 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.4% C 0.145 H 6.6°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9E3151
RGBrgb(158, 49, 81)
HSLhsl(342, 53%, 41%)
HSVhsv(342, 69%, 62%)
CMYKcmyk(0%, 69%, 48.7%, 38%)
CIE-LABlab(37.95, 47.41, 6.40)
CIE-LCHlch(37.95, 47.84, 7.69°)
OKLaboklab(48.39% 0.1445 0.0168)
OKLCHoklch(48.39% 0.145 6.6)
XYZxyz(16.6854, 10.0619, 8.8465)
Luminance0.1006 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3151 #319E7E
analogous
#9E3187 #9E3151 #9E4731
triadic
#9E3151 #519E31 #31519E
tetradic
#9E3151 #879E31 #319E7E #47319E
square
#9E3151 #879E31 #319E7E #47319E
split-complementary
#9E3151 #319E47 #31879E
monochromatic
#411421 #6F2339 #9E3151 #C6466C #D47591

Accessibility & contrast

On white

6.97
#9E3151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9E3151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E3151
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3151#FFFFFF#000000##FFFFFF
##9E31511.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494C52
Deuteranopia (green-blind)
#66614E
Tritanopia (blue-blind)
#AC1F3E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e3151;
/* rgb */ color: rgb(158, 49, 81);
/* oklch */ color: oklch(48.4% 0.145 6.6);
Tailwind
colors: {
  custom: {
    50: '#c07181',
    500: '#9e3151',
    950: '#000000',
  },
}
SCSS
$custom: #9e3151;
$custom-light: #c07181;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3151",
  "rgb": {
    "r": 158,
    "g": 49,
    "b": 81
  },
  "hsl": {
    "h": 342.385,
    "s": 52.657,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48386,
    "c": 0.14546,
    "h": 6.6
  },
  "luminance": 0.1006
}

Semantic roles & 50–950 ramp

primary
#9E3151
secondary
#6EBCA5
accent
#DCB24C
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9E3151

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

Preview Lab → · Contrast checker → · Palette generator →

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