#9E154D#9E154D

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

Color values

HEX#9E154D
RGBrgb(158, 21, 77)
HSLhsl(335, 77%, 35%)
HSVhsv(335, 87%, 62%)
CMYKcmyk(0%, 86.7%, 51.3%, 38%)
CIE-LABlab(34.69, 55.91, 4.32)
CIE-LCHlch(34.69, 56.08, 4.42°)
OKLaboklab(45.94% 0.1715 0.0115)
OKLCHoklch(45.94% 0.172 3.8)
XYZxyz(15.7097, 8.3435, 7.8030)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E154D #159E66
analogous
#9E1592 #9E154D #9E2115
triadic
#9E154D #4D9E15 #154D9E
tetradic
#9E154D #929E15 #159E66 #21159E
square
#9E154D #929E15 #159E66 #21159E
split-complementary
#9E154D #159E21 #15929E
monochromatic
#320718 #680E33 #9E154D #D41C67 #E74788

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E154D#FFFFFF#000000##FFFFFF
##9E154D1.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)
#3C414E
Deuteranopia (green-blind)
#5F5B4A
Tritanopia (blue-blind)
#AD0030
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e154d;
/* rgb */ color: rgb(158, 21, 77);
/* oklch */ color: oklch(45.9% 0.172 3.8);
Tailwind
colors: {
  custom: {
    50: '#c1667e',
    500: '#9e154d',
    950: '#000000',
  },
}
SCSS
$custom: #9e154d;
$custom-light: #c1667e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e154d",
  "rgb": {
    "r": 158,
    "g": 21,
    "b": 77
  },
  "hsl": {
    "h": 335.474,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45943,
    "c": 0.17189,
    "h": 3.8
  },
  "luminance": 0.08341
}

Semantic roles & 50–950 ramp

primary
#9E154D
secondary
#47C793
accent
#F3A535
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9E154D

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

Preview Lab → · Contrast checker → · Palette generator →

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