#8C1245#8C1245

#8C1245 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.1% C 0.157 H 3.1°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#8C1245
RGBrgb(140, 18, 69)
HSLhsl(335, 77%, 31%)
HSVhsv(335, 87%, 55%)
CMYKcmyk(0%, 87.1%, 50.7%, 45.1%)
CIE-LABlab(30.50, 51.16, 3.08)
CIE-LCHlch(30.50, 51.26, 3.44°)
OKLaboklab(42.14% 0.1571 0.0084)
OKLCHoklch(42.14% 0.157 3.1)
XYZxyz(12.1068, 6.4395, 6.2345)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1245 #128C59
analogous
#8C1282 #8C1245 #8C1C12
triadic
#8C1245 #458C12 #12458C
tetradic
#8C1245 #828C12 #128C59 #1C128C
square
#8C1245 #828C12 #128C59 #1C128C
split-complementary
#8C1245 #128C1C #12828C
monochromatic
#200410 #560B2A #8C1245 #C21960 #E5347E

Accessibility & contrast

On white

9.18
#8C1245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#8C1245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1245
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1245#FFFFFF#000000##FFFFFF
##8C12451.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343946
Deuteranopia (green-blind)
#545042
Tritanopia (blue-blind)
#99002A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8c1245;
/* rgb */ color: rgb(140, 18, 69);
/* oklch */ color: oklch(42.1% 0.157 3.1);
Tailwind
colors: {
  custom: {
    50: '#b36178',
    500: '#8c1245',
    950: '#000000',
  },
}
SCSS
$custom: #8c1245;
$custom-light: #b36178;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1245",
  "rgb": {
    "r": 140,
    "g": 18,
    "b": 69
  },
  "hsl": {
    "h": 334.918,
    "s": 77.215,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4214,
    "c": 0.15729,
    "h": 3.1
  },
  "luminance": 0.06438
}

Semantic roles & 50–950 ramp

primary
#8C1245
secondary
#39C088
accent
#F4A434
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8C1245

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

Preview Lab → · Contrast checker → · Palette generator →

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