#873A42#873A42

#873A42 is a mid, moderate red. Relative luminance 0.086; OKLCH L 45.4% C 0.106 H 15.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#873A42
RGBrgb(135, 58, 66)
HSLhsl(354, 40%, 38%)
HSVhsv(354, 57%, 53%)
CMYKcmyk(0%, 57%, 51.1%, 47.1%)
CIE-LABlab(35.15, 33.74, 11.45)
CIE-LCHlch(35.15, 35.63, 18.74°)
OKLaboklab(45.4% 0.1016 0.029)
OKLCHoklch(45.4% 0.106 15.9)
XYZxyz(12.4890, 8.5718, 6.1500)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873A42 #3A877F
analogous
#873A68 #873A42 #87583A
triadic
#873A42 #42873A #3A4287
tetradic
#873A42 #68873A #3A877F #583A87
square
#873A42 #68873A #3A877F #583A87
split-complementary
#873A42 #3A8758 #3A6887
monochromatic
#311518 #5C282D #873A42 #B24C57 #C5777F

Accessibility & contrast

On white

7.74
#873A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#873A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #873A42
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873A42#FFFFFF#000000##FFFFFF
##873A421.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4942
Deuteranopia (green-blind)
#5E5940
Tritanopia (blue-blind)
#932F3D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #873a42;
/* rgb */ color: rgb(135, 58, 66);
/* oklch */ color: oklch(45.4% 0.106 15.9);
Tailwind
colors: {
  custom: {
    50: '#ae7376',
    500: '#873a42',
    950: '#000000',
  },
}
SCSS
$custom: #873a42;
$custom-light: #ae7376;
$custom-dark: #000000;
JSON
{
  "hex": "#873a42",
  "rgb": {
    "r": 135,
    "g": 58,
    "b": 66
  },
  "hsl": {
    "h": 353.766,
    "s": 39.896,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45396,
    "c": 0.10566,
    "h": 15.9
  },
  "luminance": 0.0857
}

Semantic roles & 50–950 ramp

primary
#873A42
secondary
#6FAEA7
accent
#D0C358
background
#FBF7F7
surface
#F6EDED
border
#D0C8C8
text
#110808
muted
#807B7B

Preview Lab

Preview with #873A42

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

Preview Lab → · Contrast checker → · Palette generator →

#873A42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva