#841828#841828

#841828 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.3% C 0.142 H 19.0°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#841828
RGBrgb(132, 24, 40)
HSLhsl(351, 69%, 31%)
HSVhsv(351, 82%, 52%)
CMYKcmyk(0%, 81.8%, 69.7%, 48.2%)
CIE-LABlab(28.68, 45.23, 19.65)
CIE-LCHlch(28.68, 49.32, 23.48°)
OKLaboklab(40.28% 0.1339 0.0462)
OKLCHoklch(40.28% 0.142 19)
XYZxyz(10.2265, 5.7136, 2.5714)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841828 #188474
analogous
#84185E #841828 #843E18
triadic
#841828 #288418 #182884
tetradic
#841828 #5E8418 #188474 #3E1884
square
#841828 #5E8418 #188474 #3E1884
split-complementary
#841828 #18843E #185E84
monochromatic
#1C0509 #500F18 #841828 #B82138 #DB3B53

Accessibility & contrast

On white

9.80
#841828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #841828
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841828#FFFFFF#000000##FFFFFF
##8418281.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393528
Deuteranopia (green-blind)
#544C25
Tritanopia (blue-blind)
#91001F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #841828;
/* rgb */ color: rgb(132, 24, 40);
/* oklch */ color: oklch(40.3% 0.142 19.0);
Tailwind
colors: {
  custom: {
    50: '#af6161',
    500: '#841828',
    950: '#000000',
  },
}
SCSS
$custom: #841828;
$custom-light: #af6161;
$custom-dark: #000000;
JSON
{
  "hex": "#841828",
  "rgb": {
    "r": 132,
    "g": 24,
    "b": 40
  },
  "hsl": {
    "h": 351.111,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40282,
    "c": 0.14167,
    "h": 19
  },
  "luminance": 0.05712
}

Semantic roles & 50–950 ramp

primary
#841828
secondary
#40B8A6
accent
#ECD23C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120505
muted
#817A79

Preview Lab

Preview with #841828

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

Preview Lab → · Contrast checker → · Palette generator →

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