#821837#821837

#821837 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.141 H 9.8°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#821837
RGBrgb(130, 24, 55)
HSLhsl(342, 69%, 30%)
HSVhsv(342, 82%, 51%)
CMYKcmyk(0%, 81.5%, 57.7%, 49%)
CIE-LABlab(28.58, 45.63, 9.44)
CIE-LCHlch(28.58, 46.59, 11.69°)
OKLaboklab(40.24% 0.1385 0.0238)
OKLCHoklch(40.24% 0.141 9.8)
XYZxyz(10.2231, 5.6764, 4.1710)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821837 #188263
analogous
#82186C #821837 #822E18
triadic
#821837 #378218 #183782
tetradic
#821837 #6C8218 #188263 #2E1882
square
#821837 #6C8218 #188263 #2E1882
split-complementary
#821837 #18822E #186C82
monochromatic
#1B050B #4E0E21 #821837 #B6224D #DB3A69

Accessibility & contrast

On white

9.84
#821837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#821837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821837
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821837#FFFFFF#000000##FFFFFF
##8218371.009.842.149.84
#FFFFFF9.841.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353638
Deuteranopia (green-blind)
#504B34
Tritanopia (blue-blind)
#8F0026
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #821837;
/* rgb */ color: rgb(130, 24, 55);
/* oklch */ color: oklch(40.2% 0.141 9.8);
Tailwind
colors: {
  custom: {
    50: '#ac616d',
    500: '#821837',
    950: '#000000',
  },
}
SCSS
$custom: #821837;
$custom-light: #ac616d;
$custom-dark: #000000;
JSON
{
  "hex": "#821837",
  "rgb": {
    "r": 130,
    "g": 24,
    "b": 55
  },
  "hsl": {
    "h": 342.453,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40239,
    "c": 0.14054,
    "h": 9.8
  },
  "luminance": 0.05675
}

Semantic roles & 50–950 ramp

primary
#821837
secondary
#40B693
accent
#ECB83C
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110507
muted
#807A7A

Preview Lab

Preview with #821837

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

Preview Lab → · Contrast checker → · Palette generator →

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