#821862#821862

#821862 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.9% C 0.158 H 343.5°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#821862
RGBrgb(130, 24, 98)
HSLhsl(318, 69%, 30%)
HSVhsv(318, 82%, 51%)
CMYKcmyk(0%, 81.5%, 24.6%, 49%)
CIE-LABlab(30.11, 50.23, -16.77)
CIE-LCHlch(30.11, 52.95, 341.53°)
OKLaboklab(41.86% 0.1518 -0.0449)
OKLCHoklch(41.86% 0.158 343.5)
XYZxyz(11.7376, 6.2822, 12.1474)
Luminance0.0628 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821862 #188238
analogous
#6D1882 #821862 #82182D
triadic
#821862 #628218 #186282
tetradic
#821862 #826D18 #188238 #182D82
square
#821862 #826D18 #188238 #182D82
split-complementary
#821862 #2D8218 #18826D
monochromatic
#1B0514 #4E0E3B #821862 #B62289 #DB3AAA

Accessibility & contrast

On white

9.31
#821862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#821862 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821862
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821862#FFFFFF#000000##FFFFFF
##8218621.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253C64
Deuteranopia (green-blind)
#464D60
Tritanopia (blue-blind)
#8B183C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #821862;
/* rgb */ color: rgb(130, 24, 98);
/* oklch */ color: oklch(41.9% 0.158 343.5);
Tailwind
colors: {
  custom: {
    50: '#aa628e',
    500: '#821862',
    950: '#000000',
  },
}
SCSS
$custom: #821862;
$custom-light: #aa628e;
$custom-dark: #000000;
JSON
{
  "hex": "#821862",
  "rgb": {
    "r": 130,
    "g": 24,
    "b": 98
  },
  "hsl": {
    "h": 318.113,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41858,
    "c": 0.15831,
    "h": 343.5
  },
  "luminance": 0.06281
}

Semantic roles & 50–950 ramp

primary
#821862
secondary
#40B663
accent
#EC713C
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #821862

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

Preview Lab → · Contrast checker → · Palette generator →

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