#862227#862227

#862227 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.6% C 0.135 H 22.7°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#862227
RGBrgb(134, 34, 39)
HSLhsl(357, 60%, 33%)
HSVhsv(357, 75%, 53%)
CMYKcmyk(0%, 74.6%, 70.9%, 47.5%)
CIE-LABlab(30.30, 42.37, 22.39)
CIE-LCHlch(30.30, 47.92, 27.86°)
OKLaboklab(41.56% 0.1243 0.0521)
OKLCHoklch(41.56% 0.135 22.7)
XYZxyz(10.7709, 6.3605, 2.5796)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862227 #228681
analogous
#862259 #862227 #864F22
triadic
#862227 #278622 #222786
tetradic
#862227 #598622 #228681 #4F2286
square
#862227 #598622 #228681 #4F2286
split-complementary
#862227 #22864F #225986
monochromatic
#24090B #551619 #862227 #B72E35 #D35056

Accessibility & contrast

On white

9.24
#862227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#862227 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862227
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862227#FFFFFF#000000##FFFFFF
##8622271.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3A26
Deuteranopia (green-blind)
#584F24
Tritanopia (blue-blind)
#940025
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #862227;
/* rgb */ color: rgb(134, 34, 39);
/* oklch */ color: oklch(41.6% 0.135 22.7);
Tailwind
colors: {
  custom: {
    50: '#b06561',
    500: '#862227',
    950: '#000000',
  },
}
SCSS
$custom: #862227;
$custom-light: #b06561;
$custom-dark: #000000;
JSON
{
  "hex": "#862227",
  "rgb": {
    "r": 134,
    "g": 34,
    "b": 39
  },
  "hsl": {
    "h": 357,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41558,
    "c": 0.13474,
    "h": 22.7
  },
  "luminance": 0.06359
}

Semantic roles & 50–950 ramp

primary
#862227
secondary
#4EB6B1
accent
#E3DB45
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #862227

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

Preview Lab → · Contrast checker → · Palette generator →

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