#862A28#862A28

#862A28 is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.5% C 0.126 H 25.4°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#862A28
RGBrgb(134, 42, 40)
HSLhsl(1, 54%, 34%)
HSVhsv(1, 70%, 53%)
CMYKcmyk(0%, 68.7%, 70.1%, 47.5%)
CIE-LABlab(31.53, 39.11, 23.24)
CIE-LCHlch(31.53, 45.50, 30.72°)
OKLaboklab(42.48% 0.1142 0.0541)
OKLCHoklch(42.48% 0.126 25.4)
XYZxyz(11.0436, 6.8790, 2.7533)
Luminance0.0688 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862A28 #288486
analogous
#862855 #862A28 #865928
triadic
#862A28 #28862A #2A2886
tetradic
#862A28 #558628 #288486 #592886
square
#862A28 #558628 #288486 #592886
split-complementary
#862A28 #288659 #285586
monochromatic
#280C0C #571B1A #862A28 #B53936 #CE5D5B

Accessibility & contrast

On white

8.84
#862A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#862A28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862A28
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862A28#FFFFFF#000000##FFFFFF
##862A281.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433E27
Deuteranopia (green-blind)
#5A5225
Tritanopia (blue-blind)
#93122A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #862a28;
/* rgb */ color: rgb(134, 42, 40);
/* oklch */ color: oklch(42.5% 0.126 25.4);
Tailwind
colors: {
  custom: {
    50: '#b06962',
    500: '#862a28',
    950: '#000000',
  },
}
SCSS
$custom: #862a28;
$custom-light: #b06962;
$custom-dark: #000000;
JSON
{
  "hex": "#862a28",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 40
  },
  "hsl": {
    "h": 1.277,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42478,
    "c": 0.12635,
    "h": 25.4
  },
  "luminance": 0.06877
}

Semantic roles & 50–950 ramp

primary
#862A28
secondary
#57B1B3
accent
#DADD4A
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120705
muted
#817A79

Preview Lab

Preview with #862A28

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

Preview Lab → · Contrast checker → · Palette generator →

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