#842817#842817

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

Color values

HEX#842817
RGBrgb(132, 40, 23)
HSLhsl(9, 70%, 30%)
HSVhsv(9, 83%, 52%)
CMYKcmyk(0%, 69.7%, 82.6%, 48.2%)
CIE-LABlab(30.61, 38.48, 32.27)
CIE-LCHlch(30.61, 50.23, 39.98°)
OKLaboklab(41.65% 0.1088 0.0698)
OKLCHoklch(41.65% 0.129 32.7)
XYZxyz(10.4304, 6.4865, 1.5133)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842817 #177384
analogous
#84173C #842817 #845E17
triadic
#842817 #178428 #281784
tetradic
#842817 #3C8417 #177384 #5E1784
square
#842817 #3C8417 #177384 #5E1784
split-complementary
#842817 #17845E #173C84
monochromatic
#1C0805 #50180E #842817 #B83820 #DC5239

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##842817#FFFFFF#000000##FFFFFF
##8428171.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)
#433B14
Deuteranopia (green-blind)
#595013
Tritanopia (blue-blind)
#920A25
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #842817;
/* rgb */ color: rgb(132, 40, 23);
/* oklch */ color: oklch(41.6% 0.129 32.7);
Tailwind
colors: {
  custom: {
    50: '#b06755',
    500: '#842817',
    950: '#000000',
  },
}
SCSS
$custom: #842817;
$custom-light: #b06755;
$custom-dark: #000000;
JSON
{
  "hex": "#842817",
  "rgb": {
    "r": 132,
    "g": 40,
    "b": 23
  },
  "hsl": {
    "h": 9.358,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41648,
    "c": 0.12924,
    "h": 32.7
  },
  "luminance": 0.06485
}

Semantic roles & 50–950 ramp

primary
#842817
secondary
#3FA5B8
accent
#D1ED3B
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #842817

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

Preview Lab → · Contrast checker → · Palette generator →

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