#862B42#862B42

#862B42 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.2% C 0.125 H 8.8°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#862B42
RGBrgb(134, 43, 66)
HSLhsl(345, 51%, 35%)
HSVhsv(345, 68%, 53%)
CMYKcmyk(0%, 67.9%, 50.7%, 47.5%)
CIE-LABlab(32.24, 40.66, 7.37)
CIE-LCHlch(32.24, 41.32, 10.28°)
OKLaboklab(43.18% 0.1236 0.0191)
OKLCHoklch(43.18% 0.125 8.8)
XYZxyz(11.6797, 7.1909, 5.9261)
Luminance0.0719 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862B42 #2B866F
analogous
#862B70 #862B42 #86422B
triadic
#862B42 #42862B #2B4286
tetradic
#862B42 #70862B #2B866F #422B86
square
#862B42 #70862B #2B866F #422B86
split-complementary
#862B42 #2B8642 #2B7086
monochromatic
#290D14 #581C2B #862B42 #B43A59 #CC607B

Accessibility & contrast

On white

8.61
#862B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#862B42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862B42
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862B42#FFFFFF#000000##FFFFFF
##862B421.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404042
Deuteranopia (green-blind)
#575340
Tritanopia (blue-blind)
#921C34
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #862b42;
/* rgb */ color: rgb(134, 43, 66);
/* oklch */ color: oklch(43.2% 0.125 8.8);
Tailwind
colors: {
  custom: {
    50: '#ae6a76',
    500: '#862b42',
    950: '#000000',
  },
}
SCSS
$custom: #862b42;
$custom-light: #ae6a76;
$custom-dark: #000000;
JSON
{
  "hex": "#862b42",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 66
  },
  "hsl": {
    "h": 344.835,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43184,
    "c": 0.12503,
    "h": 8.8
  },
  "luminance": 0.07189
}

Semantic roles & 50–950 ramp

primary
#862B42
secondary
#5BB29C
accent
#DBB74D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110708
muted
#807A7B

Preview Lab

Preview with #862B42

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

Preview Lab → · Contrast checker → · Palette generator →

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