#862A42#862A42

#862A42 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.1% C 0.126 H 8.4°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#862A42
RGBrgb(134, 42, 66)
HSLhsl(344, 52%, 35%)
HSVhsv(344, 69%, 53%)
CMYKcmyk(0%, 68.7%, 50.7%, 47.5%)
CIE-LABlab(32.08, 41.10, 7.15)
CIE-LCHlch(32.08, 41.72, 9.87°)
OKLaboklab(43.06% 0.125 0.0185)
OKLCHoklch(43.06% 0.126 8.4)
XYZxyz(11.6438, 7.1191, 5.9142)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862A42 #2A866E
analogous
#862A70 #862A42 #86402A
triadic
#862A42 #42862A #2A4286
tetradic
#862A42 #70862A #2A866E #402A86
square
#862A42 #70862A #2A866E #402A86
split-complementary
#862A42 #2A8640 #2A7086
monochromatic
#290D14 #571B2B #862A42 #B53959 #CD5E7B

Accessibility & contrast

On white

8.66
#862A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#862A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862A42
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862A42#FFFFFF#000000##FFFFFF
##862A421.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4042
Deuteranopia (green-blind)
#575240
Tritanopia (blue-blind)
#921B33
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #862a42;
/* rgb */ color: rgb(134, 42, 66);
/* oklch */ color: oklch(43.1% 0.126 8.4);
Tailwind
colors: {
  custom: {
    50: '#ae6a76',
    500: '#862a42',
    950: '#000000',
  },
}
SCSS
$custom: #862a42;
$custom-light: #ae6a76;
$custom-dark: #000000;
JSON
{
  "hex": "#862a42",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 66
  },
  "hsl": {
    "h": 344.348,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43064,
    "c": 0.12633,
    "h": 8.4
  },
  "luminance": 0.07118
}

Semantic roles & 50–950 ramp

primary
#862A42
secondary
#5AB29B
accent
#DCB64C
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110708
muted
#807A7B

Preview Lab

Preview with #862A42

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

Preview Lab → · Contrast checker → · Palette generator →

#862A42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva