#862138#862138

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

Color values

HEX#862138
RGBrgb(134, 33, 56)
HSLhsl(346, 60%, 33%)
HSVhsv(346, 75%, 53%)
CMYKcmyk(0%, 75.4%, 58.2%, 47.5%)
CIE-LABlab(30.50, 43.88, 11.55)
CIE-LCHlch(30.50, 45.37, 14.74°)
OKLaboklab(41.82% 0.1325 0.0289)
OKLCHoklch(41.82% 0.136 12.3)
XYZxyz(11.0902, 6.4431, 4.4003)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862138 #21866F
analogous
#86216A #862138 #863D21
triadic
#862138 #388621 #213886
tetradic
#862138 #6A8621 #21866F #3D2186
square
#862138 #6A8621 #21866F #3D2186
split-complementary
#862138 #21863D #216A86
monochromatic
#24090F #551523 #862138 #B72D4D #D34E6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##862138#FFFFFF#000000##FFFFFF
##8621381.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)
#3B3B38
Deuteranopia (green-blind)
#554F35
Tritanopia (blue-blind)
#93042B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #862138;
/* rgb */ color: rgb(134, 33, 56);
/* oklch */ color: oklch(41.8% 0.136 12.3);
Tailwind
colors: {
  custom: {
    50: '#af656e',
    500: '#862138',
    950: '#000000',
  },
}
SCSS
$custom: #862138;
$custom-light: #af656e;
$custom-dark: #000000;
JSON
{
  "hex": "#862138",
  "rgb": {
    "r": 134,
    "g": 33,
    "b": 56
  },
  "hsl": {
    "h": 346.337,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41815,
    "c": 0.13564,
    "h": 12.3
  },
  "luminance": 0.06442
}

Semantic roles & 50–950 ramp

primary
#862138
secondary
#4CB79E
accent
#E4BF44
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110607
muted
#807A7A

Preview Lab

Preview with #862138

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

Preview Lab → · Contrast checker → · Palette generator →

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