#872826#872826

#872826 is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.4% C 0.130 H 25.6°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#872826
RGBrgb(135, 40, 38)
HSLhsl(1, 56%, 34%)
HSVhsv(1, 72%, 53%)
CMYKcmyk(0%, 70.4%, 71.9%, 47.1%)
CIE-LABlab(31.37, 40.23, 24.35)
CIE-LCHlch(31.37, 47.02, 31.19°)
OKLaboklab(42.39% 0.1171 0.0562)
OKLCHoklch(42.39% 0.13 25.6)
XYZxyz(11.1015, 6.8100, 2.5633)
Luminance0.0681 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872826 #268587
analogous
#872655 #872826 #875926
triadic
#872826 #268728 #282687
tetradic
#872826 #558726 #268587 #592687
square
#872826 #558726 #268587 #592687
split-complementary
#872826 #268759 #265587
monochromatic
#270C0B #571A19 #872826 #B73633 #D05A58

Accessibility & contrast

On white

8.89
#872826 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#872826 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872826
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872826#FFFFFF#000000##FFFFFF
##8728261.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423D25
Deuteranopia (green-blind)
#5A5123
Tritanopia (blue-blind)
#950C29
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #872826;
/* rgb */ color: rgb(135, 40, 38);
/* oklch */ color: oklch(42.4% 0.130 25.6);
Tailwind
colors: {
  custom: {
    50: '#b16860',
    500: '#872826',
    950: '#000000',
  },
}
SCSS
$custom: #872826;
$custom-light: #b16860;
$custom-dark: #000000;
JSON
{
  "hex": "#872826",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 38
  },
  "hsl": {
    "h": 1.237,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42385,
    "c": 0.12989,
    "h": 25.6
  },
  "luminance": 0.06808
}

Semantic roles & 50–950 ramp

primary
#872826
secondary
#54B3B5
accent
#DCDF48
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #872826

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

Preview Lab → · Contrast checker → · Palette generator →

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