#8C2255#8C2255

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

Color values

HEX#8C2255
RGBrgb(140, 34, 85)
HSLhsl(331, 61%, 34%)
HSVhsv(331, 76%, 55%)
CMYKcmyk(0%, 75.7%, 39.3%, 45.1%)
CIE-LABlab(32.65, 48.10, -4.29)
CIE-LCHlch(32.65, 48.29, 354.90°)
OKLaboklab(43.89% 0.1477 -0.0107)
OKLCHoklch(43.89% 0.148 355.9)
XYZxyz(13.0278, 7.3770, 9.3304)
Luminance0.0737 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2255 #228C59
analogous
#8C228A #8C2255 #8C2422
triadic
#8C2255 #558C22 #22558C
tetradic
#8C2255 #8A8C22 #228C59 #24228C
square
#8C2255 #8A8C22 #228C59 #24228C
split-complementary
#8C2255 #228C24 #228A8C
monochromatic
#2A0A19 #5B1637 #8C2255 #BD2E73 #D55392

Accessibility & contrast

On white

8.48
#8C2255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8C2255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C2255
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2255#FFFFFF#000000##FFFFFF
##8C22551.008.482.478.48
#FFFFFF8.481.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374056
Deuteranopia (green-blind)
#545453
Tritanopia (blue-blind)
#981538
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8c2255;
/* rgb */ color: rgb(140, 34, 85);
/* oklch */ color: oklch(43.9% 0.148 355.9);
Tailwind
colors: {
  custom: {
    50: '#b26784',
    500: '#8c2255',
    950: '#000000',
  },
}
SCSS
$custom: #8c2255;
$custom-light: #b26784;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2255",
  "rgb": {
    "r": 140,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 331.132,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43889,
    "c": 0.14804,
    "h": 355.9
  },
  "luminance": 0.07375
}

Semantic roles & 50–950 ramp

primary
#8C2255
secondary
#51B987
accent
#E49744
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8C2255

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

Preview Lab → · Contrast checker → · Palette generator →

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