#862231#862231

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

Color values

HEX#862231
RGBrgb(134, 34, 49)
HSLhsl(351, 60%, 33%)
HSVhsv(351, 75%, 53%)
CMYKcmyk(0%, 74.6%, 63.4%, 47.5%)
CIE-LABlab(30.49, 42.99, 16.13)
CIE-LCHlch(30.49, 45.92, 20.57°)
OKLaboklab(41.75% 0.1284 0.0392)
OKLCHoklch(41.75% 0.134 17)
XYZxyz(10.9590, 6.4357, 3.5703)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862231 #228677
analogous
#862263 #862231 #864522
triadic
#862231 #318622 #223186
tetradic
#862231 #638622 #228677 #452286
square
#862231 #638622 #228677 #452286
split-complementary
#862231 #228645 #226386
monochromatic
#24090D #55161F #862231 #B72E43 #D35063

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##862231#FFFFFF#000000##FFFFFF
##8622311.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)
#3D3A31
Deuteranopia (green-blind)
#574F2E
Tritanopia (blue-blind)
#930228
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #862231;
/* rgb */ color: rgb(134, 34, 49);
/* oklch */ color: oklch(41.8% 0.134 17.0);
Tailwind
colors: {
  custom: {
    50: '#af6568',
    500: '#862231',
    950: '#000000',
  },
}
SCSS
$custom: #862231;
$custom-light: #af6568;
$custom-dark: #000000;
JSON
{
  "hex": "#862231",
  "rgb": {
    "r": 134,
    "g": 34,
    "b": 49
  },
  "hsl": {
    "h": 351,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41752,
    "c": 0.13423,
    "h": 17
  },
  "luminance": 0.06434
}

Semantic roles & 50–950 ramp

primary
#862231
secondary
#4EB6A6
accent
#E3CB45
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #862231

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

Preview Lab → · Contrast checker → · Palette generator →

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