#8A215F#8A215F

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

Color values

HEX#8A215F
RGBrgb(138, 33, 95)
HSLhsl(325, 61%, 34%)
HSVhsv(325, 76%, 54%)
CMYKcmyk(0%, 76.1%, 31.2%, 45.9%)
CIE-LABlab(32.52, 49.07, -11.01)
CIE-LCHlch(32.52, 50.29, 347.35°)
OKLaboklab(43.85% 0.1498 -0.0288)
OKLCHoklch(43.85% 0.153 349.1)
XYZxyz(13.0913, 7.3187, 11.5475)
Luminance0.0732 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A215F #218A4C
analogous
#80218A #8A215F #8A212A
triadic
#8A215F #5F8A21 #215F8A
tetradic
#8A215F #8A8021 #218A4C #212A8A
square
#8A215F #8A8021 #218A4C #212A8A
split-complementary
#8A215F #2A8A21 #218A80
monochromatic
#27091B #59153D #8A215F #BB2D81 #D5509F

Accessibility & contrast

On white

8.52
#8A215F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A215F
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A215F#FFFFFF#000000##FFFFFF
##8A215F1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314161
Deuteranopia (green-blind)
#50535D
Tritanopia (blue-blind)
#941B3D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a215f;
/* rgb */ color: rgb(138, 33, 95);
/* oklch */ color: oklch(43.8% 0.153 349.1);
Tailwind
colors: {
  custom: {
    50: '#b0678c',
    500: '#8a215f',
    950: '#000000',
  },
}
SCSS
$custom: #8a215f;
$custom-light: #b0678c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a215f",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 95
  },
  "hsl": {
    "h": 324.571,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43847,
    "c": 0.15252,
    "h": 349.1
  },
  "luminance": 0.07317
}

Semantic roles & 50–950 ramp

primary
#8A215F
secondary
#4EB97A
accent
#E58543
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A215F

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

Preview Lab → · Contrast checker → · Palette generator →

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