#9E154F#9E154F

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

Color values

HEX#9E154F
RGBrgb(158, 21, 79)
HSLhsl(335, 77%, 35%)
HSVhsv(335, 87%, 62%)
CMYKcmyk(0%, 86.7%, 50%, 38%)
CIE-LABlab(34.75, 56.08, 3.10)
CIE-LCHlch(34.75, 56.17, 3.16°)
OKLaboklab(46% 0.1722 0.0085)
OKLCHoklch(46% 0.172 2.8)
XYZxyz(15.7814, 8.3722, 8.1806)
Luminance0.0837 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E154F #159E64
analogous
#9E1593 #9E154F #9E2015
triadic
#9E154F #4F9E15 #154F9E
tetradic
#9E154F #939E15 #159E64 #20159E
square
#9E154F #939E15 #159E64 #20159E
split-complementary
#9E154F #159E20 #15939E
monochromatic
#320719 #680E34 #9E154F #D41C6A #E7478A

Accessibility & contrast

On white

7.85
#9E154F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E154F
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E154F#FFFFFF#000000##FFFFFF
##9E154F1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4150
Deuteranopia (green-blind)
#5F5B4C
Tritanopia (blue-blind)
#AC0031
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e154f;
/* rgb */ color: rgb(158, 21, 79);
/* oklch */ color: oklch(46.0% 0.172 2.8);
Tailwind
colors: {
  custom: {
    50: '#c16680',
    500: '#9e154f',
    950: '#000000',
  },
}
SCSS
$custom: #9e154f;
$custom-light: #c16680;
$custom-dark: #000000;
JSON
{
  "hex": "#9e154f",
  "rgb": {
    "r": 158,
    "g": 21,
    "b": 79
  },
  "hsl": {
    "h": 334.599,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46004,
    "c": 0.17243,
    "h": 2.8
  },
  "luminance": 0.0837
}

Semantic roles & 50–950 ramp

primary
#9E154F
secondary
#47C791
accent
#F3A235
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E154F

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

Preview Lab → · Contrast checker → · Palette generator →

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