#821840#821840

#821840 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.142 H 4.0°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#821840
RGBrgb(130, 24, 64)
HSLhsl(337, 69%, 30%)
HSVhsv(337, 82%, 51%)
CMYKcmyk(0%, 81.5%, 50.8%, 49%)
CIE-LABlab(28.83, 46.38, 3.75)
CIE-LCHlch(28.83, 46.53, 4.62°)
OKLaboklab(40.5% 0.1421 0.01)
OKLCHoklch(40.5% 0.142 4)
XYZxyz(10.4589, 5.7707, 5.4126)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821840 #18825A
analogous
#821875 #821840 #822518
triadic
#821840 #408218 #184082
tetradic
#821840 #758218 #18825A #251882
square
#821840 #758218 #18825A #251882
split-complementary
#821840 #188225 #187582
monochromatic
#1B050D #4E0E27 #821840 #B62259 #DB3A76

Accessibility & contrast

On white

9.75
#821840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#821840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821840
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821840#FFFFFF#000000##FFFFFF
##8218401.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333741
Deuteranopia (green-blind)
#4F4B3E
Tritanopia (blue-blind)
#8E002A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #821840;
/* rgb */ color: rgb(130, 24, 64);
/* oklch */ color: oklch(40.5% 0.142 4.0);
Tailwind
colors: {
  custom: {
    50: '#ac6174',
    500: '#821840',
    950: '#000000',
  },
}
SCSS
$custom: #821840;
$custom-light: #ac6174;
$custom-dark: #000000;
JSON
{
  "hex": "#821840",
  "rgb": {
    "r": 130,
    "g": 24,
    "b": 64
  },
  "hsl": {
    "h": 337.358,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.405,
    "c": 0.14243,
    "h": 4
  },
  "luminance": 0.05769
}

Semantic roles & 50–950 ramp

primary
#821840
secondary
#40B689
accent
#ECA93C
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110508
muted
#807A7B

Preview Lab

Preview with #821840

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

Preview Lab → · Contrast checker → · Palette generator →

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