#842828#842828

#842828 is a dark, vivid red. Relative luminance 0.066; OKLCH L 41.9% C 0.126 H 24.4°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#842828
RGBrgb(132, 40, 40)
HSLhsl(0, 53%, 34%)
HSVhsv(0, 70%, 52%)
CMYKcmyk(0%, 69.7%, 69.7%, 48.2%)
CIE-LABlab(30.83, 39.28, 22.30)
CIE-LCHlch(30.83, 45.17, 29.59°)
OKLaboklab(41.88% 0.115 0.0521)
OKLCHoklch(41.88% 0.126 24.4)
XYZxyz(10.6586, 6.5778, 2.7155)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842828 #288484
analogous
#842856 #842828 #845628
triadic
#842828 #288428 #282884
tetradic
#842828 #568428 #288484 #562884
square
#842828 #568428 #288484 #562884
split-complementary
#842828 #288456 #285684
monochromatic
#260C0C #551A1A #842828 #B33636 #CD5A5A

Accessibility & contrast

On white

9.07
#842828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#842828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842828
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842828#FFFFFF#000000##FFFFFF
##8428281.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413C27
Deuteranopia (green-blind)
#585025
Tritanopia (blue-blind)
#910F29
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #842828;
/* rgb */ color: rgb(132, 40, 40);
/* oklch */ color: oklch(41.9% 0.126 24.4);
Tailwind
colors: {
  custom: {
    50: '#ae6862',
    500: '#842828',
    950: '#000000',
  },
}
SCSS
$custom: #842828;
$custom-light: #ae6862;
$custom-dark: #000000;
JSON
{
  "hex": "#842828",
  "rgb": {
    "r": 132,
    "g": 40,
    "b": 40
  },
  "hsl": {
    "h": 0,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4188,
    "c": 0.12622,
    "h": 24.4
  },
  "luminance": 0.06576
}

Semantic roles & 50–950 ramp

primary
#842828
secondary
#56B2B2
accent
#DDDD4B
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #842828

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

Preview Lab → · Contrast checker → · Palette generator →

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