#862042#862042

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

Color values

HEX#862042
RGBrgb(134, 32, 66)
HSLhsl(340, 61%, 33%)
HSVhsv(340, 76%, 53%)
CMYKcmyk(0%, 76.1%, 50.7%, 47.5%)
CIE-LABlab(30.63, 45.10, 5.10)
CIE-LCHlch(30.63, 45.38, 6.45°)
OKLaboklab(41.99% 0.1378 0.0134)
OKLCHoklch(41.99% 0.138 5.6)
XYZxyz(11.3324, 6.4962, 5.8104)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862042 #208664
analogous
#862075 #862042 #863120
triadic
#862042 #428620 #204286
tetradic
#862042 #758620 #208664 #312086
square
#862042 #758620 #208664 #312086
split-complementary
#862042 #208631 #207586
monochromatic
#230811 #55142A #862042 #B72C5A #D44C7A

Accessibility & contrast

On white

9.13
#862042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#862042 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862042
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862042#FFFFFF#000000##FFFFFF
##8620421.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393B43
Deuteranopia (green-blind)
#544F40
Tritanopia (blue-blind)
#92092E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #862042;
/* rgb */ color: rgb(134, 32, 66);
/* oklch */ color: oklch(42.0% 0.138 5.6);
Tailwind
colors: {
  custom: {
    50: '#ae6576',
    500: '#862042',
    950: '#000000',
  },
}
SCSS
$custom: #862042;
$custom-light: #ae6576;
$custom-dark: #000000;
JSON
{
  "hex": "#862042",
  "rgb": {
    "r": 134,
    "g": 32,
    "b": 66
  },
  "hsl": {
    "h": 340,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41993,
    "c": 0.13841,
    "h": 5.6
  },
  "luminance": 0.06495
}

Semantic roles & 50–950 ramp

primary
#862042
secondary
#4BB793
accent
#E5AF43
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #862042

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

Preview Lab → · Contrast checker → · Palette generator →

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