#862040#862040

#862040 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 41.9% C 0.138 H 6.9°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#862040
RGBrgb(134, 32, 64)
HSLhsl(341, 61%, 33%)
HSVhsv(341, 76%, 53%)
CMYKcmyk(0%, 76.1%, 52.2%, 47.5%)
CIE-LABlab(30.58, 44.91, 6.35)
CIE-LCHlch(30.58, 45.36, 8.05°)
OKLaboklab(41.93% 0.137 0.0165)
OKLCHoklch(41.93% 0.138 6.9)
XYZxyz(11.2744, 6.4731, 5.5052)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862040 #208666
analogous
#862073 #862040 #863320
triadic
#862040 #408620 #204086
tetradic
#862040 #738620 #208666 #332086
square
#862040 #738620 #208666 #332086
split-complementary
#862040 #208633 #207386
monochromatic
#230811 #551428 #862040 #B72C58 #D44C77

Accessibility & contrast

On white

9.15
#862040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #862040
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862040#FFFFFF#000000##FFFFFF
##8620401.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393B41
Deuteranopia (green-blind)
#544F3E
Tritanopia (blue-blind)
#92082D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #862040;
/* rgb */ color: rgb(134, 32, 64);
/* oklch */ color: oklch(41.9% 0.138 6.9);
Tailwind
colors: {
  custom: {
    50: '#af6574',
    500: '#862040',
    950: '#000000',
  },
}
SCSS
$custom: #862040;
$custom-light: #af6574;
$custom-dark: #000000;
JSON
{
  "hex": "#862040",
  "rgb": {
    "r": 134,
    "g": 32,
    "b": 64
  },
  "hsl": {
    "h": 341.176,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41934,
    "c": 0.13796,
    "h": 6.9
  },
  "luminance": 0.06472
}

Semantic roles & 50–950 ramp

primary
#862040
secondary
#4BB795
accent
#E5B243
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #862040

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

Preview Lab → · Contrast checker → · Palette generator →

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