#8A215C#8A215C

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

Color values

HEX#8A215C
RGBrgb(138, 33, 92)
HSLhsl(326, 61%, 34%)
HSVhsv(326, 76%, 54%)
CMYKcmyk(0%, 76.1%, 33.3%, 45.9%)
CIE-LABlab(32.40, 48.70, -9.25)
CIE-LCHlch(32.40, 49.57, 349.25°)
OKLaboklab(43.72% 0.149 -0.024)
OKLCHoklch(43.72% 0.151 350.8)
XYZxyz(12.9576, 7.2652, 10.8431)
Luminance0.0726 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A215C #218A4F
analogous
#83218A #8A215C #8A2127
triadic
#8A215C #5C8A21 #215C8A
tetradic
#8A215C #8A8321 #218A4F #21278A
square
#8A215C #8A8321 #218A4F #21278A
split-complementary
#8A215C #278A21 #218A83
monochromatic
#27091A #59153B #8A215C #BB2D7D #D5509B

Accessibility & contrast

On white

8.56
#8A215C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#8A215C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A215C
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A215C#FFFFFF#000000##FFFFFF
##8A215C1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33405E
Deuteranopia (green-blind)
#51535A
Tritanopia (blue-blind)
#951A3B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a215c;
/* rgb */ color: rgb(138, 33, 92);
/* oklch */ color: oklch(43.7% 0.151 350.8);
Tailwind
colors: {
  custom: {
    50: '#b0678a',
    500: '#8a215c',
    950: '#000000',
  },
}
SCSS
$custom: #8a215c;
$custom-light: #b0678a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a215c",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 92
  },
  "hsl": {
    "h": 326.286,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43722,
    "c": 0.15091,
    "h": 350.8
  },
  "luminance": 0.07264
}

Semantic roles & 50–950 ramp

primary
#8A215C
secondary
#4EB97D
accent
#E58A43
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8A215C

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

Preview Lab → · Contrast checker → · Palette generator →

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