#8C2E4E#8C2E4E

#8C2E4E is a dark, vivid pink. Relative luminance 0.081; OKLCH L 44.9% C 0.130 H 3.0°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#8C2E4E
RGBrgb(140, 46, 78)
HSLhsl(340, 51%, 36%)
HSVhsv(340, 67%, 55%)
CMYKcmyk(0%, 67.1%, 44.3%, 45.1%)
CIE-LABlab(34.15, 42.55, 2.45)
CIE-LCHlch(34.15, 42.62, 3.29°)
OKLaboklab(44.92% 0.13 0.0068)
OKLCHoklch(44.92% 0.13 3)
XYZxyz(13.1683, 8.0811, 8.0726)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2E4E #2E8C6C
analogous
#8C2E7D #8C2E4E #8C3D2E
triadic
#8C2E4E #4E8C2E #2E4E8C
tetradic
#8C2E4E #7D8C2E #2E8C6C #3D2E8C
square
#8C2E4E #7D8C2E #2E8C6C #3D2E8C
split-complementary
#8C2E4E #2E8C3D #2E7D8C
monochromatic
#30101B #5E1F34 #8C2E4E #BA3D68 #CD678A

Accessibility & contrast

On white

8.03
#8C2E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8C2E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C2E4E
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2E4E#FFFFFF#000000##FFFFFF
##8C2E4E1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41454F
Deuteranopia (green-blind)
#5A574C
Tritanopia (blue-blind)
#98223B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8c2e4e;
/* rgb */ color: rgb(140, 46, 78);
/* oklch */ color: oklch(44.9% 0.130 3.0);
Tailwind
colors: {
  custom: {
    50: '#b26d7f',
    500: '#8c2e4e',
    950: '#000000',
  },
}
SCSS
$custom: #8c2e4e;
$custom-light: #b26d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2e4e",
  "rgb": {
    "r": 140,
    "g": 46,
    "b": 78
  },
  "hsl": {
    "h": 339.574,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44923,
    "c": 0.1302,
    "h": 3
  },
  "luminance": 0.08079
}

Semantic roles & 50–950 ramp

primary
#8C2E4E
secondary
#62B498
accent
#DAAA4E
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8C2E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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