#862142#862142

#862142 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.137 H 5.8°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#862142
RGBrgb(134, 33, 66)
HSLhsl(340, 60%, 33%)
HSVhsv(340, 75%, 53%)
CMYKcmyk(0%, 75.4%, 50.7%, 47.5%)
CIE-LABlab(30.76, 44.73, 5.29)
CIE-LCHlch(30.76, 45.04, 6.74°)
OKLaboklab(42.09% 0.1366 0.0139)
OKLCHoklch(42.09% 0.137 5.8)
XYZxyz(11.3597, 6.5509, 5.8195)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862142 #218665
analogous
#862174 #862142 #863221
triadic
#862142 #428621 #214286
tetradic
#862142 #748621 #218665 #322186
square
#862142 #748621 #218665 #322186
split-complementary
#862142 #218632 #217486
monochromatic
#240912 #55152A #862142 #B72D5A #D34E7A

Accessibility & contrast

On white

9.09
#862142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#862142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862142
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862142#FFFFFF#000000##FFFFFF
##8621421.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393C43
Deuteranopia (green-blind)
#545040
Tritanopia (blue-blind)
#920B2F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #862142;
/* rgb */ color: rgb(134, 33, 66);
/* oklch */ color: oklch(42.1% 0.137 5.8);
Tailwind
colors: {
  custom: {
    50: '#ae6576',
    500: '#862142',
    950: '#000000',
  },
}
SCSS
$custom: #862142;
$custom-light: #ae6576;
$custom-dark: #000000;
JSON
{
  "hex": "#862142",
  "rgb": {
    "r": 134,
    "g": 33,
    "b": 66
  },
  "hsl": {
    "h": 340.396,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42089,
    "c": 0.13728,
    "h": 5.8
  },
  "luminance": 0.06549
}

Semantic roles & 50–950 ramp

primary
#862142
secondary
#4CB794
accent
#E4B044
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #862142

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

Preview Lab → · Contrast checker → · Palette generator →

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