#842218#842218

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

Color values

HEX#842218
RGBrgb(132, 34, 24)
HSLhsl(6, 69%, 31%)
HSVhsv(6, 82%, 52%)
CMYKcmyk(0%, 74.2%, 81.8%, 48.2%)
CIE-LABlab(29.71, 41.01, 30.81)
CIE-LCHlch(29.71, 51.30, 36.91°)
OKLaboklab(40.98% 0.1169 0.0669)
OKLCHoklch(40.98% 0.135 29.8)
XYZxyz(10.2538, 6.1171, 1.5048)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842218 #187A84
analogous
#841844 #842218 #845818
triadic
#842218 #188422 #221884
tetradic
#842218 #448418 #187A84 #581884
square
#842218 #448418 #187A84 #581884
split-complementary
#842218 #188458 #184484
monochromatic
#1C0705 #50150F #842218 #B82F21 #DB4A3B

Accessibility & contrast

On white

9.45
#842218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#842218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842218
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842218#FFFFFF#000000##FFFFFF
##8422181.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3816
Deuteranopia (green-blind)
#574E14
Tritanopia (blue-blind)
#920021
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #842218;
/* rgb */ color: rgb(132, 34, 24);
/* oklch */ color: oklch(41.0% 0.135 29.8);
Tailwind
colors: {
  custom: {
    50: '#b06556',
    500: '#842218',
    950: '#000000',
  },
}
SCSS
$custom: #842218;
$custom-light: #b06556;
$custom-dark: #000000;
JSON
{
  "hex": "#842218",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 24
  },
  "hsl": {
    "h": 5.556,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40975,
    "c": 0.13468,
    "h": 29.8
  },
  "luminance": 0.06116
}

Semantic roles & 50–950 ramp

primary
#842218
secondary
#40ADB8
accent
#DCEC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #842218

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

Preview Lab → · Contrast checker → · Palette generator →

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