#873040#873040

#873040 is a dark, moderate red. Relative luminance 0.076; OKLCH L 43.9% C 0.119 H 12.4°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#873040
RGBrgb(135, 48, 64)
HSLhsl(349, 48%, 36%)
HSVhsv(349, 64%, 53%)
CMYKcmyk(0%, 64.4%, 52.6%, 47.1%)
CIE-LABlab(33.21, 38.53, 10.07)
CIE-LCHlch(33.21, 39.82, 14.64°)
OKLaboklab(43.93% 0.1165 0.0256)
OKLCHoklch(43.93% 0.119 12.4)
XYZxyz(11.9750, 7.6365, 5.6929)
Luminance0.0764 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#873040 #308777
analogous
#87306B #873040 #874B30
triadic
#873040 #408730 #304087
tetradic
#873040 #6B8730 #308777 #4B3087
square
#873040 #6B8730 #308777 #4B3087
split-complementary
#873040 #30874B #306B87
monochromatic
#2D1015 #5A202B #873040 #B44055 #C9687A

Accessibility & contrast

On white

8.31
#873040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#873040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #873040
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##873040#FFFFFF#000000##FFFFFF
##8730401.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444340
Deuteranopia (green-blind)
#5A553E
Tritanopia (blue-blind)
#932236
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #873040;
/* rgb */ color: rgb(135, 48, 64);
/* oklch */ color: oklch(43.9% 0.119 12.4);
Tailwind
colors: {
  custom: {
    50: '#af6d74',
    500: '#873040',
    950: '#000000',
  },
}
SCSS
$custom: #873040;
$custom-light: #af6d74;
$custom-dark: #000000;
JSON
{
  "hex": "#873040",
  "rgb": {
    "r": 135,
    "g": 48,
    "b": 64
  },
  "hsl": {
    "h": 348.966,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4393,
    "c": 0.11927,
    "h": 12.4
  },
  "luminance": 0.07635
}

Semantic roles & 50–950 ramp

primary
#873040
secondary
#62B1A2
accent
#D7BE51
background
#FBF6F7
surface
#F6ECED
border
#D0C7C8
text
#110708
muted
#807A7B

Preview Lab

Preview with #873040

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

Preview Lab → · Contrast checker → · Palette generator →

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