#821866#821866

#821866 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.1% C 0.161 H 341.4°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#821866
RGBrgb(130, 24, 102)
HSLhsl(316, 69%, 30%)
HSVhsv(316, 82%, 51%)
CMYKcmyk(0%, 81.5%, 21.5%, 49%)
CIE-LABlab(30.30, 50.77, -19.07)
CIE-LCHlch(30.30, 54.24, 339.41°)
OKLaboklab(42.06% 0.1525 -0.0514)
OKLCHoklch(42.06% 0.161 341.4)
XYZxyz(11.9312, 6.3597, 13.1670)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821866 #188234
analogous
#691882 #821866 #821831
triadic
#821866 #668218 #186682
tetradic
#821866 #826918 #188234 #183182
square
#821866 #826918 #188234 #183182
split-complementary
#821866 #318218 #188269
monochromatic
#1B0515 #4E0E3D #821866 #B6228F #DB3AB0

Accessibility & contrast

On white

9.24
#821866 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#821866 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821866
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821866#FFFFFF#000000##FFFFFF
##8218661.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223D68
Deuteranopia (green-blind)
#454D64
Tritanopia (blue-blind)
#8A1A3E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #821866;
/* rgb */ color: rgb(130, 24, 102);
/* oklch */ color: oklch(42.1% 0.161 341.4);
Tailwind
colors: {
  custom: {
    50: '#aa6392',
    500: '#821866',
    950: '#000000',
  },
}
SCSS
$custom: #821866;
$custom-light: #aa6392;
$custom-dark: #000000;
JSON
{
  "hex": "#821866",
  "rgb": {
    "r": 130,
    "g": 24,
    "b": 102
  },
  "hsl": {
    "h": 315.849,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42056,
    "c": 0.16087,
    "h": 341.4
  },
  "luminance": 0.06358
}

Semantic roles & 50–950 ramp

primary
#821866
secondary
#40B65F
accent
#EC6B3C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060D
muted
#7F7A7D

Preview Lab

Preview with #821866

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

Preview Lab → · Contrast checker → · Palette generator →

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