#842818#842818

#842818 is a dark, vivid red. Relative luminance 0.065; OKLCH L 41.7% C 0.129 H 32.3°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#842818
RGBrgb(132, 40, 24)
HSLhsl(9, 69%, 31%)
HSVhsv(9, 82%, 52%)
CMYKcmyk(0%, 69.7%, 81.8%, 48.2%)
CIE-LABlab(30.62, 38.52, 31.73)
CIE-LCHlch(30.62, 49.90, 39.48°)
OKLaboklab(41.66% 0.1091 0.0689)
OKLCHoklch(41.66% 0.129 32.3)
XYZxyz(10.4406, 6.4906, 1.5670)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842818 #187484
analogous
#84183E #842818 #845E18
triadic
#842818 #188428 #281884
tetradic
#842818 #3E8418 #187484 #5E1884
square
#842818 #3E8418 #187484 #5E1884
split-complementary
#842818 #18845E #183E84
monochromatic
#1C0905 #50180F #842818 #B83821 #DB533B

Accessibility & contrast

On white

9.14
#842818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#842818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842818
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842818#FFFFFF#000000##FFFFFF
##8428181.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B15
Deuteranopia (green-blind)
#595014
Tritanopia (blue-blind)
#920A25
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #842818;
/* rgb */ color: rgb(132, 40, 24);
/* oklch */ color: oklch(41.7% 0.129 32.3);
Tailwind
colors: {
  custom: {
    50: '#af6856',
    500: '#842818',
    950: '#000000',
  },
}
SCSS
$custom: #842818;
$custom-light: #af6856;
$custom-dark: #000000;
JSON
{
  "hex": "#842818",
  "rgb": {
    "r": 132,
    "g": 40,
    "b": 24
  },
  "hsl": {
    "h": 8.889,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41658,
    "c": 0.12904,
    "h": 32.3
  },
  "luminance": 0.06489
}

Semantic roles & 50–950 ramp

primary
#842818
secondary
#40A6B8
accent
#D2EC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #842818

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

Preview Lab → · Contrast checker → · Palette generator →

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