#8C2256#8C2256

#8C2256 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.9% C 0.148 H 355.3°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#8C2256
RGBrgb(140, 34, 86)
HSLhsl(331, 61%, 34%)
HSVhsv(331, 76%, 55%)
CMYKcmyk(0%, 75.7%, 38.6%, 45.1%)
CIE-LABlab(32.69, 48.21, -4.89)
CIE-LCHlch(32.69, 48.46, 354.20°)
OKLaboklab(43.93% 0.148 -0.0123)
OKLCHoklch(43.93% 0.148 355.3)
XYZxyz(13.0678, 7.3930, 9.5411)
Luminance0.0739 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2256 #228C58
analogous
#8C228B #8C2256 #8C2322
triadic
#8C2256 #568C22 #22568C
tetradic
#8C2256 #8B8C22 #228C58 #23228C
square
#8C2256 #8B8C22 #228C58 #23228C
split-complementary
#8C2256 #228C23 #228B8C
monochromatic
#2A0A1A #5B1638 #8C2256 #BD2E74 #D55393

Accessibility & contrast

On white

8.47
#8C2256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8C2256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C2256
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2256#FFFFFF#000000##FFFFFF
##8C22561.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374057
Deuteranopia (green-blind)
#545454
Tritanopia (blue-blind)
#971639
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8c2256;
/* rgb */ color: rgb(140, 34, 86);
/* oklch */ color: oklch(43.9% 0.148 355.3);
Tailwind
colors: {
  custom: {
    50: '#b26785',
    500: '#8c2256',
    950: '#000000',
  },
}
SCSS
$custom: #8c2256;
$custom-light: #b26785;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2256",
  "rgb": {
    "r": 140,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 330.566,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43926,
    "c": 0.14847,
    "h": 355.3
  },
  "luminance": 0.07391
}

Semantic roles & 50–950 ramp

primary
#8C2256
secondary
#51B986
accent
#E49544
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8C2256

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

Preview Lab → · Contrast checker → · Palette generator →

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