#8C154D#8C154D

#8C154D is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.6% C 0.158 H 358.8°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#8C154D
RGBrgb(140, 21, 77)
HSLhsl(332, 74%, 32%)
HSVhsv(332, 85%, 55%)
CMYKcmyk(0%, 85%, 45%, 45.1%)
CIE-LABlab(30.99, 51.19, -1.50)
CIE-LCHlch(30.99, 51.21, 358.32°)
OKLaboklab(42.59% 0.1576 -0.0033)
OKLCHoklch(42.59% 0.158 358.8)
XYZxyz(12.4239, 6.6493, 7.6490)
Luminance0.0665 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C154D #158C54
analogous
#8C1589 #8C154D #8C1915
triadic
#8C154D #4D8C15 #154D8C
tetradic
#8C154D #898C15 #158C54 #19158C
square
#8C154D #898C15 #158C54 #19158C
split-complementary
#8C154D #158C19 #15898C
monochromatic
#220512 #570D30 #8C154D #C11D6A #E13A89

Accessibility & contrast

On white

9.01
#8C154D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8C154D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C154D
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C154D#FFFFFF#000000##FFFFFF
##8C154D1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333B4E
Deuteranopia (green-blind)
#53514A
Tritanopia (blue-blind)
#98002F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8c154d;
/* rgb */ color: rgb(140, 21, 77);
/* oklch */ color: oklch(42.6% 0.158 358.8);
Tailwind
colors: {
  custom: {
    50: '#b3627e',
    500: '#8c154d',
    950: '#000000',
  },
}
SCSS
$custom: #8c154d;
$custom-light: #b3627e;
$custom-dark: #000000;
JSON
{
  "hex": "#8c154d",
  "rgb": {
    "r": 140,
    "g": 21,
    "b": 77
  },
  "hsl": {
    "h": 331.765,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42588,
    "c": 0.15762,
    "h": 358.8
  },
  "luminance": 0.06648
}

Semantic roles & 50–950 ramp

primary
#8C154D
secondary
#3DC082
accent
#F19937
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8C154D

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

Preview Lab → · Contrast checker → · Palette generator →

#8C154D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva