#8A215D#8A215D

#8A215D is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.8% C 0.151 H 350.3°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#8A215D
RGBrgb(138, 33, 93)
HSLhsl(326, 61%, 34%)
HSVhsv(326, 76%, 54%)
CMYKcmyk(0%, 76.1%, 32.6%, 45.9%)
CIE-LABlab(32.44, 48.82, -9.84)
CIE-LCHlch(32.44, 49.80, 348.61°)
OKLaboklab(43.76% 0.1493 -0.0256)
OKLCHoklch(43.76% 0.151 350.3)
XYZxyz(13.0016, 7.2828, 11.0748)
Luminance0.0728 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A215D #218A4E
analogous
#82218A #8A215D #8A2128
triadic
#8A215D #5D8A21 #215D8A
tetradic
#8A215D #8A8221 #218A4E #21288A
square
#8A215D #8A8221 #218A4E #21288A
split-complementary
#8A215D #288A21 #218A82
monochromatic
#27091A #59153C #8A215D #BB2D7E #D5509C

Accessibility & contrast

On white

8.55
#8A215D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8A215D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A215D
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A215D#FFFFFF#000000##FFFFFF
##8A215D1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32405F
Deuteranopia (green-blind)
#51535B
Tritanopia (blue-blind)
#951A3C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a215d;
/* rgb */ color: rgb(138, 33, 93);
/* oklch */ color: oklch(43.8% 0.151 350.3);
Tailwind
colors: {
  custom: {
    50: '#b0678b',
    500: '#8a215d',
    950: '#000000',
  },
}
SCSS
$custom: #8a215d;
$custom-light: #b0678b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a215d",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 93
  },
  "hsl": {
    "h": 325.714,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43763,
    "c": 0.15143,
    "h": 350.3
  },
  "luminance": 0.07281
}

Semantic roles & 50–950 ramp

primary
#8A215D
secondary
#4EB97C
accent
#E58843
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8A215D

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

Preview Lab → · Contrast checker → · Palette generator →

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