#9E154B#9E154B

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

Color values

HEX#9E154B
RGBrgb(158, 21, 75)
HSLhsl(336, 77%, 35%)
HSVhsv(336, 87%, 62%)
CMYKcmyk(0%, 86.7%, 52.5%, 38%)
CIE-LABlab(34.63, 55.75, 5.54)
CIE-LCHlch(34.63, 56.03, 5.68°)
OKLaboklab(45.88% 0.1708 0.0146)
OKLCHoklch(45.88% 0.171 4.9)
XYZxyz(15.6402, 8.3157, 7.4368)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E154B #159E68
analogous
#9E1590 #9E154B #9E2315
triadic
#9E154B #4B9E15 #154B9E
tetradic
#9E154B #909E15 #159E68 #23159E
square
#9E154B #909E15 #159E68 #23159E
split-complementary
#9E154B #159E23 #15909E
monochromatic
#320718 #680E31 #9E154B #D41C65 #E74786

Accessibility & contrast

On white

7.89
#9E154B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#9E154B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E154B
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E154B#FFFFFF#000000##FFFFFF
##9E154B1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C404C
Deuteranopia (green-blind)
#605B48
Tritanopia (blue-blind)
#AD002F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9e154b;
/* rgb */ color: rgb(158, 21, 75);
/* oklch */ color: oklch(45.9% 0.171 4.9);
Tailwind
colors: {
  custom: {
    50: '#c1657d',
    500: '#9e154b',
    950: '#000000',
  },
}
SCSS
$custom: #9e154b;
$custom-light: #c1657d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e154b",
  "rgb": {
    "r": 158,
    "g": 21,
    "b": 75
  },
  "hsl": {
    "h": 336.35,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45883,
    "c": 0.17138,
    "h": 4.9
  },
  "luminance": 0.08313
}

Semantic roles & 50–950 ramp

primary
#9E154B
secondary
#47C795
accent
#F3A835
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9E154B

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

Preview Lab → · Contrast checker → · Palette generator →

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