#842F18#842F18

#842F18 is a dark, vivid red. Relative luminance 0.070; OKLCH L 42.6% C 0.122 H 35.8°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#842F18
RGBrgb(132, 47, 24)
HSLhsl(13, 69%, 31%)
HSVhsv(13, 82%, 52%)
CMYKcmyk(0%, 64.4%, 81.8%, 48.2%)
CIE-LABlab(31.82, 35.29, 32.93)
CIE-LCHlch(31.82, 48.27, 43.02°)
OKLaboklab(42.56% 0.0991 0.0715)
OKLCHoklch(42.56% 0.122 35.8)
XYZxyz(10.6983, 7.0060, 1.6529)
Luminance0.0701 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842F18 #186D84
analogous
#841837 #842F18 #846518
triadic
#842F18 #18842F #2F1884
tetradic
#842F18 #378418 #186D84 #651884
square
#842F18 #378418 #186D84 #651884
split-complementary
#842F18 #188465 #183784
monochromatic
#1C0A05 #501D0F #842F18 #B84121 #DB5D3B

Accessibility & contrast

On white

8.75
#842F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#842F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842F18
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842F18#FFFFFF#000000##FFFFFF
##842F181.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F15
Deuteranopia (green-blind)
#5C5215
Tritanopia (blue-blind)
#92192A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #842f18;
/* rgb */ color: rgb(132, 47, 24);
/* oklch */ color: oklch(42.6% 0.122 35.8);
Tailwind
colors: {
  custom: {
    50: '#af6b57',
    500: '#842f18',
    950: '#000000',
  },
}
SCSS
$custom: #842f18;
$custom-light: #af6b57;
$custom-dark: #000000;
JSON
{
  "hex": "#842f18",
  "rgb": {
    "r": 132,
    "g": 47,
    "b": 24
  },
  "hsl": {
    "h": 12.778,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42563,
    "c": 0.12222,
    "h": 35.8
  },
  "luminance": 0.07005
}

Semantic roles & 50–950 ramp

primary
#842F18
secondary
#409EB8
accent
#C7EC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120703
muted
#817A78

Preview Lab

Preview with #842F18

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

Preview Lab → · Contrast checker → · Palette generator →

#842F18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva