#8C154C#8C154C

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

Color values

HEX#8C154C
RGBrgb(140, 21, 76)
HSLhsl(332, 74%, 32%)
HSVhsv(332, 85%, 55%)
CMYKcmyk(0%, 85%, 45.7%, 45.1%)
CIE-LABlab(30.96, 51.09, -0.89)
CIE-LCHlch(30.96, 51.10, 359.01°)
OKLaboklab(42.55% 0.1573 -0.0017)
OKLCHoklch(42.55% 0.157 359.4)
XYZxyz(12.3889, 6.6353, 7.4644)
Luminance0.0663 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C154C #158C55
analogous
#8C1588 #8C154C #8C1A15
triadic
#8C154C #4C8C15 #154C8C
tetradic
#8C154C #888C15 #158C55 #1A158C
square
#8C154C #888C15 #158C55 #1A158C
split-complementary
#8C154C #158C1A #15888C
monochromatic
#220512 #570D2F #8C154C #C11D69 #E13A87

Accessibility & contrast

On white

9.03
#8C154C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8C154C
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C154C#FFFFFF#000000##FFFFFF
##8C154C1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333B4D
Deuteranopia (green-blind)
#535149
Tritanopia (blue-blind)
#98002F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8c154c;
/* rgb */ color: rgb(140, 21, 76);
/* oklch */ color: oklch(42.6% 0.157 359.4);
Tailwind
colors: {
  custom: {
    50: '#b3627d',
    500: '#8c154c',
    950: '#000000',
  },
}
SCSS
$custom: #8c154c;
$custom-light: #b3627d;
$custom-dark: #000000;
JSON
{
  "hex": "#8c154c",
  "rgb": {
    "r": 140,
    "g": 21,
    "b": 76
  },
  "hsl": {
    "h": 332.269,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42553,
    "c": 0.15727,
    "h": 359.4
  },
  "luminance": 0.06634
}

Semantic roles & 50–950 ramp

primary
#8C154C
secondary
#3DC083
accent
#F19B37
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8C154C

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

Preview Lab → · Contrast checker → · Palette generator →

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