#821E58#821E58

#821E58 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.146 H 349.8°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#821E58
RGBrgb(130, 30, 88)
HSLhsl(325, 63%, 31%)
HSVhsv(325, 77%, 51%)
CMYKcmyk(0%, 76.9%, 32.3%, 49%)
CIE-LABlab(30.35, 47.02, -9.89)
CIE-LCHlch(30.35, 48.05, 348.12°)
OKLaboklab(41.89% 0.1437 -0.0258)
OKLCHoklch(41.89% 0.146 349.8)
XYZxyz(11.4323, 6.3803, 9.8601)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821E58 #1E8248
analogous
#7A1E82 #821E58 #821E26
triadic
#821E58 #58821E #1E5882
tetradic
#821E58 #827A1E #1E8248 #1E2682
square
#821E58 #827A1E #1E8248 #1E2682
split-complementary
#821E58 #26821E #1E827A
monochromatic
#1F0715 #501336 #821E58 #B4297A #D44699

Accessibility & contrast

On white

9.23
#821E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#821E58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821E58
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821E58#FFFFFF#000000##FFFFFF
##821E581.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3C5A
Deuteranopia (green-blind)
#4B4E56
Tritanopia (blue-blind)
#8C1838
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #821e58;
/* rgb */ color: rgb(130, 30, 88);
/* oklch */ color: oklch(41.9% 0.146 349.8);
Tailwind
colors: {
  custom: {
    50: '#aa6487',
    500: '#821e58',
    950: '#000000',
  },
}
SCSS
$custom: #821e58;
$custom-light: #aa6487;
$custom-dark: #000000;
JSON
{
  "hex": "#821e58",
  "rgb": {
    "r": 130,
    "g": 30,
    "b": 88
  },
  "hsl": {
    "h": 325.2,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4189,
    "c": 0.14599,
    "h": 349.8
  },
  "luminance": 0.06379
}

Semantic roles & 50–950 ramp

primary
#821E58
secondary
#47B575
accent
#E68742
background
#FAF6F8
surface
#F5EBEF
border
#CFC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #821E58

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

Preview Lab → · Contrast checker → · Palette generator →

#821E58 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva