#8C2147#8C2147

#8C2147 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.3% C 0.144 H 4.3°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#8C2147
RGBrgb(140, 33, 71)
HSLhsl(339, 62%, 34%)
HSVhsv(339, 76%, 55%)
CMYKcmyk(0%, 76.4%, 49.3%, 45.1%)
CIE-LABlab(32.08, 47.02, 4.03)
CIE-LCHlch(32.08, 47.19, 4.90°)
OKLaboklab(43.32% 0.1439 0.0108)
OKLCHoklch(43.32% 0.144 4.3)
XYZxyz(12.4975, 7.1198, 6.6762)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2147 #218C66
analogous
#8C217D #8C2147 #8C3121
triadic
#8C2147 #478C21 #21478C
tetradic
#8C2147 #7D8C21 #218C66 #31218C
square
#8C2147 #7D8C21 #218C66 #31218C
split-complementary
#8C2147 #218C31 #217D8C
monochromatic
#290A15 #5A152E #8C2147 #BE2D60 #D65180

Accessibility & contrast

On white

8.66
#8C2147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#8C2147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C2147
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2147#FFFFFF#000000##FFFFFF
##8C21471.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3E48
Deuteranopia (green-blind)
#575344
Tritanopia (blue-blind)
#990A31
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8c2147;
/* rgb */ color: rgb(140, 33, 71);
/* oklch */ color: oklch(43.3% 0.144 4.3);
Tailwind
colors: {
  custom: {
    50: '#b3667a',
    500: '#8c2147',
    950: '#000000',
  },
}
SCSS
$custom: #8c2147;
$custom-light: #b3667a;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2147",
  "rgb": {
    "r": 140,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 338.692,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43322,
    "c": 0.14426,
    "h": 4.3
  },
  "luminance": 0.07118
}

Semantic roles & 50–950 ramp

primary
#8C2147
secondary
#4FB994
accent
#E5AB43
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8C2147

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

Preview Lab → · Contrast checker → · Palette generator →

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