#842518#842518

#842518 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.3% C 0.132 H 31.0°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#842518
RGBrgb(132, 37, 24)
HSLhsl(7, 69%, 31%)
HSVhsv(7, 82%, 52%)
CMYKcmyk(0%, 72%, 81.8%, 48.2%)
CIE-LABlab(30.15, 39.80, 31.25)
CIE-LCHlch(30.15, 50.61, 38.14°)
OKLaboklab(41.31% 0.1131 0.0679)
OKLCHoklch(41.31% 0.132 31)
XYZxyz(10.3434, 6.2962, 1.5346)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842518 #187784
analogous
#841841 #842518 #845B18
triadic
#842518 #188425 #251884
tetradic
#842518 #418418 #187784 #5B1884
square
#842518 #418418 #187784 #5B1884
split-complementary
#842518 #18845B #184184
monochromatic
#1C0805 #50160F #842518 #B83421 #DB4E3B

Accessibility & contrast

On white

9.30
#842518 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#842518 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842518
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842518#FFFFFF#000000##FFFFFF
##8425181.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A16
Deuteranopia (green-blind)
#584F14
Tritanopia (blue-blind)
#920223
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #842518;
/* rgb */ color: rgb(132, 37, 24);
/* oklch */ color: oklch(41.3% 0.132 31.0);
Tailwind
colors: {
  custom: {
    50: '#b06656',
    500: '#842518',
    950: '#000000',
  },
}
SCSS
$custom: #842518;
$custom-light: #b06656;
$custom-dark: #000000;
JSON
{
  "hex": "#842518",
  "rgb": {
    "r": 132,
    "g": 37,
    "b": 24
  },
  "hsl": {
    "h": 7.222,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41306,
    "c": 0.1319,
    "h": 31
  },
  "luminance": 0.06295
}

Semantic roles & 50–950 ramp

primary
#842518
secondary
#40A9B8
accent
#D7EC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #842518

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

Preview Lab → · Contrast checker → · Palette generator →

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