#821870#821870

#821870 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.6% C 0.168 H 336.3°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#821870
RGBrgb(130, 24, 112)
HSLhsl(310, 69%, 30%)
HSVhsv(310, 82%, 51%)
CMYKcmyk(0%, 81.5%, 13.8%, 49%)
CIE-LABlab(30.81, 52.22, -24.70)
CIE-LCHlch(30.81, 57.77, 334.69°)
OKLaboklab(42.58% 0.1536 -0.0674)
OKLCHoklch(42.58% 0.168 336.3)
XYZxyz(12.4574, 6.5701, 15.9382)
Luminance0.0657 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821870 #18822A
analogous
#5F1882 #821870 #82183B
triadic
#821870 #708218 #187082
tetradic
#821870 #825F18 #18822A #183B82
square
#821870 #825F18 #18822A #183B82
split-complementary
#821870 #3B8218 #18825F
monochromatic
#1B0517 #4E0E43 #821870 #B6229D #DB3ABF

Accessibility & contrast

On white

9.08
#821870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#821870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821870
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821870#FFFFFF#000000##FFFFFF
##8218701.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3E72
Deuteranopia (green-blind)
#414E6E
Tritanopia (blue-blind)
#892143
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #821870;
/* rgb */ color: rgb(130, 24, 112);
/* oklch */ color: oklch(42.6% 0.168 336.3);
Tailwind
colors: {
  custom: {
    50: '#aa6399',
    500: '#821870',
    950: '#000000',
  },
}
SCSS
$custom: #821870;
$custom-light: #aa6399;
$custom-dark: #000000;
JSON
{
  "hex": "#821870",
  "rgb": {
    "r": 130,
    "g": 24,
    "b": 112
  },
  "hsl": {
    "h": 310.189,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42584,
    "c": 0.1677,
    "h": 336.3
  },
  "luminance": 0.06569
}

Semantic roles & 50–950 ramp

primary
#821870
secondary
#40B654
accent
#EC5A3C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #821870

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

Preview Lab → · Contrast checker → · Palette generator →

#821870 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva