#8D2162#8D2162

#8D2162 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.5% C 0.156 H 348.5°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#8D2162
RGBrgb(141, 33, 98)
HSLhsl(324, 62%, 34%)
HSVhsv(324, 77%, 55%)
CMYKcmyk(0%, 76.6%, 30.5%, 44.7%)
CIE-LABlab(33.21, 50.27, -11.85)
CIE-LCHlch(33.21, 51.65, 346.74°)
OKLaboklab(44.49% 0.1533 -0.0311)
OKLCHoklch(44.49% 0.156 348.5)
XYZxyz(13.7337, 7.6338, 12.3031)
Luminance0.0763 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2162 #218D4C
analogous
#82218D #8D2162 #8D212C
triadic
#8D2162 #628D21 #21628D
tetradic
#8D2162 #8D8221 #218D4C #212C8D
square
#8D2162 #8D8221 #218D4C #212C8D
split-complementary
#8D2162 #2C8D21 #218D82
monochromatic
#2A0A1D #5B1540 #8D2162 #BF2D84 #D652A2

Accessibility & contrast

On white

8.31
#8D2162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8D2162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2162
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2162#FFFFFF#000000##FFFFFF
##8D21621.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324264
Deuteranopia (green-blind)
#515560
Tritanopia (blue-blind)
#971C3E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8d2162;
/* rgb */ color: rgb(141, 33, 98);
/* oklch */ color: oklch(44.5% 0.156 348.5);
Tailwind
colors: {
  custom: {
    50: '#b2688e',
    500: '#8d2162',
    950: '#000000',
  },
}
SCSS
$custom: #8d2162;
$custom-light: #b2688e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2162",
  "rgb": {
    "r": 141,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 323.889,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44493,
    "c": 0.15646,
    "h": 348.5
  },
  "luminance": 0.07632
}

Semantic roles & 50–950 ramp

primary
#8D2162
secondary
#50BA7A
accent
#E58343
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8D2162

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

Preview Lab → · Contrast checker → · Palette generator →

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