#872526#872526

#872526 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.0% C 0.133 H 24.4°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#872526
RGBrgb(135, 37, 38)
HSLhsl(359, 57%, 34%)
HSVhsv(359, 73%, 53%)
CMYKcmyk(0%, 72.6%, 71.9%, 47.1%)
CIE-LABlab(30.92, 41.47, 23.81)
CIE-LCHlch(30.92, 47.82, 29.86°)
OKLaboklab(42.04% 0.1211 0.055)
OKLCHoklch(42.04% 0.133 24.4)
XYZxyz(11.0043, 6.6156, 2.5308)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872526 #258786
analogous
#872557 #872526 #875525
triadic
#872526 #268725 #252687
tetradic
#872526 #578725 #258786 #552587
square
#872526 #578725 #258786 #552587
split-complementary
#872526 #258755 #255787
monochromatic
#270B0B #571818 #872526 #B73234 #D15657

Accessibility & contrast

On white

9.04
#872526 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#872526 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872526
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872526#FFFFFF#000000##FFFFFF
##8725261.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413B25
Deuteranopia (green-blind)
#595023
Tritanopia (blue-blind)
#950426
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #872526;
/* rgb */ color: rgb(135, 37, 38);
/* oklch */ color: oklch(42.0% 0.133 24.4);
Tailwind
colors: {
  custom: {
    50: '#b16760',
    500: '#872526',
    950: '#000000',
  },
}
SCSS
$custom: #872526;
$custom-light: #b16760;
$custom-dark: #000000;
JSON
{
  "hex": "#872526",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 38
  },
  "hsl": {
    "h": 359.388,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42044,
    "c": 0.13295,
    "h": 24.4
  },
  "luminance": 0.06614
}

Semantic roles & 50–950 ramp

primary
#872526
secondary
#53B5B4
accent
#E0DF48
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #872526

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

Preview Lab → · Contrast checker → · Palette generator →

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