#842024#842024

#842024 is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.9% C 0.135 H 23.5°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#842024
RGBrgb(132, 32, 36)
HSLhsl(358, 61%, 32%)
HSVhsv(358, 76%, 52%)
CMYKcmyk(0%, 75.8%, 72.7%, 48.2%)
CIE-LABlab(29.58, 42.30, 23.35)
CIE-LCHlch(29.58, 48.32, 28.89°)
OKLaboklab(40.93% 0.1236 0.0538)
OKLCHoklch(40.93% 0.135 23.5)
XYZxyz(10.3518, 6.0675, 2.2948)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842024 #208480
analogous
#842056 #842024 #844E20
triadic
#842024 #248420 #202484
tetradic
#842024 #568420 #208480 #4E2084
square
#842024 #568420 #208480 #4E2084
split-complementary
#842024 #20844E #205684
monochromatic
#210809 #531417 #842024 #B52C31 #D34B50

Accessibility & contrast

On white

9.49
#842024 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#842024 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842024
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842024#FFFFFF#000000##FFFFFF
##8420241.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3823
Deuteranopia (green-blind)
#564D21
Tritanopia (blue-blind)
#920023
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #842024;
/* rgb */ color: rgb(132, 32, 36);
/* oklch */ color: oklch(40.9% 0.135 23.5);
Tailwind
colors: {
  custom: {
    50: '#af645e',
    500: '#842024',
    950: '#000000',
  },
}
SCSS
$custom: #842024;
$custom-light: #af645e;
$custom-dark: #000000;
JSON
{
  "hex": "#842024",
  "rgb": {
    "r": 132,
    "g": 32,
    "b": 36
  },
  "hsl": {
    "h": 357.6,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40932,
    "c": 0.13482,
    "h": 23.5
  },
  "luminance": 0.06066
}

Semantic roles & 50–950 ramp

primary
#842024
secondary
#4AB6B2
accent
#E4DE44
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #842024

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

Preview Lab → · Contrast checker → · Palette generator →

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