#842018#842018

#842018 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.8% C 0.136 H 29.1°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#842018
RGBrgb(132, 32, 24)
HSLhsl(4, 69%, 31%)
HSVhsv(4, 82%, 52%)
CMYKcmyk(0%, 75.8%, 81.8%, 48.2%)
CIE-LABlab(29.43, 41.78, 30.53)
CIE-LCHlch(29.43, 51.75, 36.15°)
OKLaboklab(40.77% 0.1193 0.0663)
OKLCHoklch(40.77% 0.136 29.1)
XYZxyz(10.1983, 6.0061, 1.4863)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842018 #187C84
analogous
#841846 #842018 #845618
triadic
#842018 #188420 #201884
tetradic
#842018 #468418 #187C84 #561884
square
#842018 #468418 #187C84 #561884
split-complementary
#842018 #188456 #184684
monochromatic
#1C0705 #50130F #842018 #B82D21 #DB473B

Accessibility & contrast

On white

9.54
#842018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#842018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842018
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842018#FFFFFF#000000##FFFFFF
##8420181.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3716
Deuteranopia (green-blind)
#574D13
Tritanopia (blue-blind)
#92001F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #842018;
/* rgb */ color: rgb(132, 32, 24);
/* oklch */ color: oklch(40.8% 0.136 29.1);
Tailwind
colors: {
  custom: {
    50: '#b06456',
    500: '#842018',
    950: '#000000',
  },
}
SCSS
$custom: #842018;
$custom-light: #b06456;
$custom-dark: #000000;
JSON
{
  "hex": "#842018",
  "rgb": {
    "r": 132,
    "g": 32,
    "b": 24
  },
  "hsl": {
    "h": 4.444,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40767,
    "c": 0.13647,
    "h": 29.1
  },
  "luminance": 0.06005
}

Semantic roles & 50–950 ramp

primary
#842018
secondary
#40AFB8
accent
#DFEC3C
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #842018

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

Preview Lab → · Contrast checker → · Palette generator →

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