#8A215E#8A215E

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

Color values

HEX#8A215E
RGBrgb(138, 33, 94)
HSLhsl(325, 61%, 34%)
HSVhsv(325, 76%, 54%)
CMYKcmyk(0%, 76.1%, 31.9%, 45.9%)
CIE-LABlab(32.48, 48.95, -10.42)
CIE-LCHlch(32.48, 50.05, 347.98°)
OKLaboklab(43.81% 0.1495 -0.0272)
OKLCHoklch(43.81% 0.152 349.7)
XYZxyz(13.0462, 7.3006, 11.3096)
Luminance0.0730 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A215E #218A4D
analogous
#81218A #8A215E #8A2129
triadic
#8A215E #5E8A21 #215E8A
tetradic
#8A215E #8A8121 #218A4D #21298A
square
#8A215E #8A8121 #218A4D #21298A
split-complementary
#8A215E #298A21 #218A81
monochromatic
#27091B #59153C #8A215E #BB2D80 #D5509D

Accessibility & contrast

On white

8.54
#8A215E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A215E
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A215E#FFFFFF#000000##FFFFFF
##8A215E1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324160
Deuteranopia (green-blind)
#50535C
Tritanopia (blue-blind)
#941B3C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a215e;
/* rgb */ color: rgb(138, 33, 94);
/* oklch */ color: oklch(43.8% 0.152 349.7);
Tailwind
colors: {
  custom: {
    50: '#b0678b',
    500: '#8a215e',
    950: '#000000',
  },
}
SCSS
$custom: #8a215e;
$custom-light: #b0678b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a215e",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 94
  },
  "hsl": {
    "h": 325.143,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43805,
    "c": 0.15197,
    "h": 349.7
  },
  "luminance": 0.07299
}

Semantic roles & 50–950 ramp

primary
#8A215E
secondary
#4EB97B
accent
#E58743
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A215E

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

Preview Lab → · Contrast checker → · Palette generator →

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