#862A31#862A31

#862A31 is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.6% C 0.125 H 19.9°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#862A31
RGBrgb(134, 42, 49)
HSLhsl(355, 52%, 35%)
HSVhsv(355, 69%, 53%)
CMYKcmyk(0%, 68.7%, 63.4%, 47.5%)
CIE-LABlab(31.69, 39.69, 17.70)
CIE-LCHlch(31.69, 43.46, 24.03°)
OKLaboklab(42.65% 0.1179 0.0428)
OKLCHoklch(42.65% 0.125 19.9)
XYZxyz(11.2150, 6.9476, 3.6556)
Luminance0.0695 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862A31 #2A867F
analogous
#862A5F #862A31 #86512A
triadic
#862A31 #31862A #2A3186
tetradic
#862A31 #5F862A #2A867F #512A86
square
#862A31 #5F862A #2A867F #512A86
split-complementary
#862A31 #2A8651 #2A5F86
monochromatic
#290D0F #571B20 #862A31 #B53942 #CD5E66

Accessibility & contrast

On white

8.79
#862A31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#862A31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862A31
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862A31#FFFFFF#000000##FFFFFF
##862A311.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423E31
Deuteranopia (green-blind)
#59522F
Tritanopia (blue-blind)
#93152D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #862a31;
/* rgb */ color: rgb(134, 42, 49);
/* oklch */ color: oklch(42.6% 0.125 19.9);
Tailwind
colors: {
  custom: {
    50: '#af6969',
    500: '#862a31',
    950: '#000000',
  },
}
SCSS
$custom: #862a31;
$custom-light: #af6969;
$custom-dark: #000000;
JSON
{
  "hex": "#862a31",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 49
  },
  "hsl": {
    "h": 355.435,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42647,
    "c": 0.12539,
    "h": 19.9
  },
  "luminance": 0.06946
}

Semantic roles & 50–950 ramp

primary
#862A31
secondary
#5AB2AB
accent
#DCD14C
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110706
muted
#807A7A

Preview Lab

Preview with #862A31

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

Preview Lab → · Contrast checker → · Palette generator →

#862A31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva