#872226#872226

#872226 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.7% C 0.136 H 23.3°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#872226
RGBrgb(135, 34, 38)
HSLhsl(358, 60%, 33%)
HSVhsv(358, 75%, 53%)
CMYKcmyk(0%, 74.8%, 71.9%, 47.1%)
CIE-LABlab(30.49, 42.65, 23.30)
CIE-LCHlch(30.49, 48.60, 28.65°)
OKLaboklab(41.73% 0.1248 0.0539)
OKLCHoklch(41.73% 0.136 23.3)
XYZxyz(10.9148, 6.4365, 2.5010)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872226 #228783
analogous
#872258 #872226 #875022
triadic
#872226 #268722 #222687
tetradic
#872226 #588722 #228783 #502287
square
#872226 #588722 #228783 #502287
split-complementary
#872226 #228750 #225887
monochromatic
#25090A #561618 #872226 #B82E34 #D35056

Accessibility & contrast

On white

9.18
#872226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#872226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872226
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872226#FFFFFF#000000##FFFFFF
##8722261.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3A25
Deuteranopia (green-blind)
#585023
Tritanopia (blue-blind)
#950025
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #872226;
/* rgb */ color: rgb(135, 34, 38);
/* oklch */ color: oklch(41.7% 0.136 23.3);
Tailwind
colors: {
  custom: {
    50: '#b16560',
    500: '#872226',
    950: '#000000',
  },
}
SCSS
$custom: #872226;
$custom-light: #b16560;
$custom-dark: #000000;
JSON
{
  "hex": "#872226",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 38
  },
  "hsl": {
    "h": 357.624,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41726,
    "c": 0.13592,
    "h": 23.3
  },
  "luminance": 0.06435
}

Semantic roles & 50–950 ramp

primary
#872226
secondary
#4EB7B2
accent
#E3DD45
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #872226

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

Preview Lab → · Contrast checker → · Palette generator →

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