#8C1047#8C1047

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

Color values

HEX#8C1047
RGBrgb(140, 16, 71)
HSLhsl(333, 79%, 31%)
HSVhsv(333, 89%, 55%)
CMYKcmyk(0%, 88.6%, 49.3%, 45.1%)
CIE-LABlab(30.41, 51.77, 1.62)
CIE-LCHlch(30.41, 51.79, 1.79°)
OKLaboklab(42.1% 0.1592 0.0047)
OKLCHoklch(42.1% 0.159 1.7)
XYZxyz(12.1389, 6.4027, 6.5567)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C1047 #108C55
analogous
#8C1085 #8C1047 #8C1710
triadic
#8C1047 #478C10 #10478C
tetradic
#8C1047 #858C10 #108C55 #17108C
square
#8C1047 #858C10 #108C55 #17108C
split-complementary
#8C1047 #108C17 #10858C
monochromatic
#1E030F #550A2B #8C1047 #C31663 #E72F81

Accessibility & contrast

On white

9.21
#8C1047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#8C1047 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C1047
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C1047#FFFFFF#000000##FFFFFF
##8C10471.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323948
Deuteranopia (green-blind)
#535044
Tritanopia (blue-blind)
#99002B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8c1047;
/* rgb */ color: rgb(140, 16, 71);
/* oklch */ color: oklch(42.1% 0.159 1.7);
Tailwind
colors: {
  custom: {
    50: '#b3617a',
    500: '#8c1047',
    950: '#000000',
  },
}
SCSS
$custom: #8c1047;
$custom-light: #b3617a;
$custom-dark: #000000;
JSON
{
  "hex": "#8c1047",
  "rgb": {
    "r": 140,
    "g": 16,
    "b": 71
  },
  "hsl": {
    "h": 333.387,
    "s": 79.487,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42095,
    "c": 0.15926,
    "h": 1.7
  },
  "luminance": 0.06401
}

Semantic roles & 50–950 ramp

primary
#8C1047
secondary
#37C184
accent
#F69F32
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8C1047

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

Preview Lab → · Contrast checker → · Palette generator →

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