#8C2452#8C2452

#8C2452 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.0% C 0.144 H 358.0°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#8C2452
RGBrgb(140, 36, 82)
HSLhsl(333, 59%, 35%)
HSVhsv(333, 74%, 55%)
CMYKcmyk(0%, 74.3%, 41.4%, 45.1%)
CIE-LABlab(32.81, 47.05, -2.11)
CIE-LCHlch(32.81, 47.09, 357.43°)
OKLaboklab(43.97% 0.1444 -0.005)
OKLCHoklch(43.97% 0.144 358)
XYZxyz(12.9700, 7.4480, 8.7356)
Luminance0.0745 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2452 #248C5E
analogous
#8C2486 #8C2452 #8C2A24
triadic
#8C2452 #528C24 #24528C
tetradic
#8C2452 #868C24 #248C5E #2A248C
square
#8C2452 #868C24 #248C5E #2A248C
split-complementary
#8C2452 #248C2A #24868C
monochromatic
#2B0B19 #5B1735 #8C2452 #BD316F #D4578E

Accessibility & contrast

On white

8.44
#8C2452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8C2452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C2452
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2452#FFFFFF#000000##FFFFFF
##8C24521.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394153
Deuteranopia (green-blind)
#565450
Tritanopia (blue-blind)
#981738
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8c2452;
/* rgb */ color: rgb(140, 36, 82);
/* oklch */ color: oklch(44.0% 0.144 358.0);
Tailwind
colors: {
  custom: {
    50: '#b26882',
    500: '#8c2452',
    950: '#000000',
  },
}
SCSS
$custom: #8c2452;
$custom-light: #b26882;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2452",
  "rgb": {
    "r": 140,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 333.462,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4397,
    "c": 0.14445,
    "h": 358
  },
  "luminance": 0.07446
}

Semantic roles & 50–950 ramp

primary
#8C2452
secondary
#54B88C
accent
#E29D46
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8C2452

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

Preview Lab → · Contrast checker → · Palette generator →

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