#821B68#821B68

#821B68 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.4% C 0.159 H 340.5°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#821B68
RGBrgb(130, 27, 104)
HSLhsl(315, 66%, 31%)
HSVhsv(315, 79%, 51%)
CMYKcmyk(0%, 79.2%, 20%, 49%)
CIE-LABlab(30.71, 50.16, -19.72)
CIE-LCHlch(30.71, 53.89, 338.54°)
OKLaboklab(42.38% 0.15 -0.0532)
OKLCHoklch(42.38% 0.159 340.5)
XYZxyz(12.0969, 6.5304, 13.7174)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821B68 #1B8235
analogous
#681B82 #821B68 #821B34
triadic
#821B68 #68821B #1B6882
tetradic
#821B68 #82681B #1B8235 #1B3482
square
#821B68 #82681B #1B8235 #1B3482
split-complementary
#821B68 #34821B #1B8268
monochromatic
#1D0617 #4F103F #821B68 #B52691 #D740B1

Accessibility & contrast

On white

9.11
#821B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#821B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##821B68#FFFFFF#000000##FFFFFF
##821B681.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)
#233E6A
Deuteranopia (green-blind)
#454E66
Tritanopia (blue-blind)
#8A1E40
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #821b68;
/* rgb */ color: rgb(130, 27, 104);
/* oklch */ color: oklch(42.4% 0.159 340.5);
Tailwind
colors: {
  custom: {
    50: '#aa6493',
    500: '#821b68',
    950: '#000000',
  },
}
SCSS
$custom: #821b68;
$custom-light: #aa6493;
$custom-dark: #000000;
JSON
{
  "hex": "#821b68",
  "rgb": {
    "r": 130,
    "g": 27,
    "b": 104
  },
  "hsl": {
    "h": 315.146,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42384,
    "c": 0.15915,
    "h": 340.5
  },
  "luminance": 0.06529
}

Semantic roles & 50–950 ramp

primary
#821B68
secondary
#43B660
accent
#E96A3F
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #821B68

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

Preview Lab → · Contrast checker → · Palette generator →

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