#821868#821868

#821868 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.2% C 0.162 H 340.3°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#821868
RGBrgb(130, 24, 104)
HSLhsl(315, 69%, 30%)
HSVhsv(315, 82%, 51%)
CMYKcmyk(0%, 81.5%, 20%, 49%)
CIE-LABlab(30.40, 51.05, -20.21)
CIE-LCHlch(30.40, 54.91, 338.40°)
OKLaboklab(42.16% 0.1527 -0.0546)
OKLCHoklch(42.16% 0.162 340.3)
XYZxyz(12.0316, 6.3998, 13.6957)
Luminance0.0640 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821868 #188232
analogous
#671882 #821868 #821833
triadic
#821868 #688218 #186882
tetradic
#821868 #826718 #188232 #183382
square
#821868 #826718 #188232 #183382
split-complementary
#821868 #338218 #188267
monochromatic
#1B0515 #4E0E3F #821868 #B62291 #DB3AB3

Accessibility & contrast

On white

9.21
#821868 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#821868 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821868
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821868#FFFFFF#000000##FFFFFF
##8218681.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213D6A
Deuteranopia (green-blind)
#444E66
Tritanopia (blue-blind)
#8A1C3F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #821868;
/* rgb */ color: rgb(130, 24, 104);
/* oklch */ color: oklch(42.2% 0.162 340.3);
Tailwind
colors: {
  custom: {
    50: '#aa6393',
    500: '#821868',
    950: '#000000',
  },
}
SCSS
$custom: #821868;
$custom-light: #aa6393;
$custom-dark: #000000;
JSON
{
  "hex": "#821868",
  "rgb": {
    "r": 130,
    "g": 24,
    "b": 104
  },
  "hsl": {
    "h": 314.717,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42158,
    "c": 0.16219,
    "h": 340.3
  },
  "luminance": 0.06399
}

Semantic roles & 50–950 ramp

primary
#821868
secondary
#40B65D
accent
#EC673C
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #821868

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

Preview Lab → · Contrast checker → · Palette generator →

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