#8C2162#8C2162

#8C2162 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.3% C 0.156 H 348.2°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#8C2162
RGBrgb(140, 33, 98)
HSLhsl(324, 62%, 34%)
HSVhsv(324, 76%, 55%)
CMYKcmyk(0%, 76.4%, 30%, 45.1%)
CIE-LABlab(33.02, 50.00, -12.15)
CIE-LCHlch(33.02, 51.45, 346.34°)
OKLaboklab(44.32% 0.1524 -0.032)
OKLCHoklch(44.32% 0.156 348.2)
XYZxyz(13.5644, 7.5465, 12.2952)
Luminance0.0755 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2162 #218C4B
analogous
#81218C #8C2162 #8C212D
triadic
#8C2162 #628C21 #21628C
tetradic
#8C2162 #8C8121 #218C4B #212D8C
square
#8C2162 #8C8121 #218C4B #212D8C
split-complementary
#8C2162 #2D8C21 #218C81
monochromatic
#290A1D #5A153F #8C2162 #BE2D85 #D651A2

Accessibility & contrast

On white

8.37
#8C2162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8C2162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C2162
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2162#FFFFFF#000000##FFFFFF
##8C21621.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314264
Deuteranopia (green-blind)
#515460
Tritanopia (blue-blind)
#961C3E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8c2162;
/* rgb */ color: rgb(140, 33, 98);
/* oklch */ color: oklch(44.3% 0.156 348.2);
Tailwind
colors: {
  custom: {
    50: '#b2678e',
    500: '#8c2162',
    950: '#000000',
  },
}
SCSS
$custom: #8c2162;
$custom-light: #b2678e;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2162",
  "rgb": {
    "r": 140,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 323.551,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44321,
    "c": 0.15571,
    "h": 348.2
  },
  "luminance": 0.07545
}

Semantic roles & 50–950 ramp

primary
#8C2162
secondary
#4FB979
accent
#E58243
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8C2162

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

Preview Lab → · Contrast checker → · Palette generator →

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