#842517#842517

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

Color values

HEX#842517
RGBrgb(132, 37, 23)
HSLhsl(8, 70%, 30%)
HSVhsv(8, 83%, 52%)
CMYKcmyk(0%, 72%, 82.6%, 48.2%)
CIE-LABlab(30.14, 39.77, 31.81)
CIE-LCHlch(30.14, 50.92, 38.66°)
OKLaboklab(41.3% 0.1128 0.0687)
OKLCHoklch(41.3% 0.132 31.4)
XYZxyz(10.3331, 6.2921, 1.4809)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842517 #177684
analogous
#841740 #842517 #845B17
triadic
#842517 #178425 #251784
tetradic
#842517 #408417 #177684 #5B1784
square
#842517 #408417 #177684 #5B1784
split-complementary
#842517 #17845B #174084
monochromatic
#1C0805 #50160E #842517 #B83420 #DC4E39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##842517#FFFFFF#000000##FFFFFF
##8425171.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)
#413A14
Deuteranopia (green-blind)
#584F13
Tritanopia (blue-blind)
#920123
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #842517;
/* rgb */ color: rgb(132, 37, 23);
/* oklch */ color: oklch(41.3% 0.132 31.4);
Tailwind
colors: {
  custom: {
    50: '#b06655',
    500: '#842517',
    950: '#000000',
  },
}
SCSS
$custom: #842517;
$custom-light: #b06655;
$custom-dark: #000000;
JSON
{
  "hex": "#842517",
  "rgb": {
    "r": 132,
    "g": 37,
    "b": 23
  },
  "hsl": {
    "h": 7.706,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41295,
    "c": 0.13209,
    "h": 31.4
  },
  "luminance": 0.06291
}

Semantic roles & 50–950 ramp

primary
#842517
secondary
#3FA9B8
accent
#D6ED3B
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #842517

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

Preview Lab → · Contrast checker → · Palette generator →

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