#821838#821838

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

Color values

HEX#821838
RGBrgb(130, 24, 56)
HSLhsl(342, 69%, 30%)
HSVhsv(342, 82%, 51%)
CMYKcmyk(0%, 81.5%, 56.9%, 49%)
CIE-LABlab(28.61, 45.70, 8.81)
CIE-LCHlch(28.61, 46.55, 10.91°)
OKLaboklab(40.27% 0.1389 0.0223)
OKLCHoklch(40.27% 0.141 9.1)
XYZxyz(10.2474, 5.6861, 4.2986)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821838 #188262
analogous
#82186D #821838 #822D18
triadic
#821838 #388218 #183882
tetradic
#821838 #6D8218 #188262 #2D1882
square
#821838 #6D8218 #188262 #2D1882
split-complementary
#821838 #18822D #186D82
monochromatic
#1B050B #4E0E22 #821838 #B6224E #DB3A6A

Accessibility & contrast

On white

9.83
#821838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #821838
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821838#FFFFFF#000000##FFFFFF
##8218381.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353639
Deuteranopia (green-blind)
#504B35
Tritanopia (blue-blind)
#8E0026
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #821838;
/* rgb */ color: rgb(130, 24, 56);
/* oklch */ color: oklch(40.3% 0.141 9.1);
Tailwind
colors: {
  custom: {
    50: '#ac616e',
    500: '#821838',
    950: '#000000',
  },
}
SCSS
$custom: #821838;
$custom-light: #ac616e;
$custom-dark: #000000;
JSON
{
  "hex": "#821838",
  "rgb": {
    "r": 130,
    "g": 24,
    "b": 56
  },
  "hsl": {
    "h": 341.887,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40266,
    "c": 0.14069,
    "h": 9.1
  },
  "luminance": 0.05685
}

Semantic roles & 50–950 ramp

primary
#821838
secondary
#40B692
accent
#ECB73C
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110507
muted
#807A7A

Preview Lab

Preview with #821838

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

Preview Lab → · Contrast checker → · Palette generator →

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