#821770#821770

#821770 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.5% C 0.169 H 336.3°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#821770
RGBrgb(130, 23, 112)
HSLhsl(310, 70%, 30%)
HSVhsv(310, 82%, 51%)
CMYKcmyk(0%, 82.3%, 13.8%, 49%)
CIE-LABlab(30.71, 52.50, -24.85)
CIE-LCHlch(30.71, 58.09, 334.67°)
OKLaboklab(42.51% 0.1544 -0.0678)
OKLCHoklch(42.51% 0.169 336.3)
XYZxyz(12.4372, 6.5297, 15.9314)
Luminance0.0653 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821770 #178229
analogous
#5E1782 #821770 #82173B
triadic
#821770 #708217 #177082
tetradic
#821770 #825E17 #178229 #173B82
square
#821770 #825E17 #178229 #173B82
split-complementary
#821770 #3B8217 #17825E
monochromatic
#1A0516 #4E0E43 #821770 #B6209D #DC38C0

Accessibility & contrast

On white

9.11
#821770 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #821770
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821770#FFFFFF#000000##FFFFFF
##8217701.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193E72
Deuteranopia (green-blind)
#414E6E
Tritanopia (blue-blind)
#892043
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #821770;
/* rgb */ color: rgb(130, 23, 112);
/* oklch */ color: oklch(42.5% 0.169 336.3);
Tailwind
colors: {
  custom: {
    50: '#aa6399',
    500: '#821770',
    950: '#000000',
  },
}
SCSS
$custom: #821770;
$custom-light: #aa6399;
$custom-dark: #000000;
JSON
{
  "hex": "#821770",
  "rgb": {
    "r": 130,
    "g": 23,
    "b": 112
  },
  "hsl": {
    "h": 310.093,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.42514,
    "c": 0.16862,
    "h": 336.3
  },
  "luminance": 0.06528
}

Semantic roles & 50–950 ramp

primary
#821770
secondary
#3EB653
accent
#ED593B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #821770

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

Preview Lab → · Contrast checker → · Palette generator →

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