#8C124D#8C124D

#8C124D is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.4% C 0.160 H 358.5°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#8C124D
RGBrgb(140, 18, 77)
HSLhsl(331, 77%, 31%)
HSVhsv(331, 87%, 55%)
CMYKcmyk(0%, 87.1%, 45%, 45.1%)
CIE-LABlab(30.75, 51.89, -1.86)
CIE-LCHlch(30.75, 51.93, 357.95°)
OKLaboklab(42.41% 0.1599 -0.0042)
OKLCHoklch(42.41% 0.16 358.5)
XYZxyz(12.3721, 6.5456, 7.6317)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C124D #128C51
analogous
#8C128A #8C124D #8C1412
triadic
#8C124D #4D8C12 #124D8C
tetradic
#8C124D #8A8C12 #128C51 #14128C
square
#8C124D #8A8C12 #128C51 #14128C
split-complementary
#8C124D #128C14 #128A8C
monochromatic
#200411 #560B2F #8C124D #C2196B #E53489

Accessibility & contrast

On white

9.10
#8C124D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8C124D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C124D
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C124D#FFFFFF#000000##FFFFFF
##8C124D1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313A4E
Deuteranopia (green-blind)
#52504A
Tritanopia (blue-blind)
#98002F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8c124d;
/* rgb */ color: rgb(140, 18, 77);
/* oklch */ color: oklch(42.4% 0.160 358.5);
Tailwind
colors: {
  custom: {
    50: '#b3617e',
    500: '#8c124d',
    950: '#000000',
  },
}
SCSS
$custom: #8c124d;
$custom-light: #b3617e;
$custom-dark: #000000;
JSON
{
  "hex": "#8c124d",
  "rgb": {
    "r": 140,
    "g": 18,
    "b": 77
  },
  "hsl": {
    "h": 330.984,
    "s": 77.215,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42409,
    "c": 0.15993,
    "h": 358.5
  },
  "luminance": 0.06544
}

Semantic roles & 50–950 ramp

primary
#8C124D
secondary
#39C07F
accent
#F49734
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8C124D

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

Preview Lab → · Contrast checker → · Palette generator →

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