#872026#872026

#872026 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.5% C 0.138 H 22.7°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#872026
RGBrgb(135, 32, 38)
HSLhsl(357, 62%, 33%)
HSVhsv(357, 76%, 53%)
CMYKcmyk(0%, 76.3%, 71.9%, 47.1%)
CIE-LABlab(30.22, 43.40, 22.98)
CIE-LCHlch(30.22, 49.10, 27.90°)
OKLaboklab(41.53% 0.1272 0.0532)
OKLCHoklch(41.53% 0.138 22.7)
XYZxyz(10.8592, 6.3255, 2.4825)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872026 #208781
analogous
#872059 #872026 #874D20
triadic
#872026 #268720 #202687
tetradic
#872026 #598720 #208781 #4D2087
square
#872026 #598720 #208781 #4D2087
split-complementary
#872026 #20874D #205987
monochromatic
#24090A #561418 #872026 #B82C34 #D54D55

Accessibility & contrast

On white

9.27
#872026 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872026
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872026#FFFFFF#000000##FFFFFF
##8720261.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3925
Deuteranopia (green-blind)
#584F23
Tritanopia (blue-blind)
#950023
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #872026;
/* rgb */ color: rgb(135, 32, 38);
/* oklch */ color: oklch(41.5% 0.138 22.7);
Tailwind
colors: {
  custom: {
    50: '#b16460',
    500: '#872026',
    950: '#000000',
  },
}
SCSS
$custom: #872026;
$custom-light: #b16460;
$custom-dark: #000000;
JSON
{
  "hex": "#872026",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 38
  },
  "hsl": {
    "h": 356.505,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41526,
    "c": 0.13782,
    "h": 22.7
  },
  "luminance": 0.06324
}

Semantic roles & 50–950 ramp

primary
#872026
secondary
#4BB8B1
accent
#E5DB43
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #872026

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

Preview Lab → · Contrast checker → · Palette generator →

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