#862B52#862B52

#862B52 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.7% C 0.130 H 357.5°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#862B52
RGBrgb(134, 43, 82)
HSLhsl(334, 51%, 35%)
HSVhsv(334, 68%, 53%)
CMYKcmyk(0%, 67.9%, 38.8%, 47.5%)
CIE-LABlab(32.72, 42.37, -2.37)
CIE-LCHlch(32.72, 42.44, 356.80°)
OKLaboklab(43.7% 0.1296 -0.0057)
OKLCHoklch(43.7% 0.13 357.5)
XYZxyz(12.2191, 7.4067, 8.7672)
Luminance0.0741 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862B52 #2B865F
analogous
#862B7F #862B52 #86322B
triadic
#862B52 #52862B #2B5286
tetradic
#862B52 #7F862B #2B865F #322B86
square
#862B52 #7F862B #2B865F #322B86
split-complementary
#862B52 #2B8632 #2B7F86
monochromatic
#290D19 #581C36 #862B52 #B43A6E #CC608E

Accessibility & contrast

On white

8.46
#862B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#862B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862B52
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862B52#FFFFFF#000000##FFFFFF
##862B521.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4253
Deuteranopia (green-blind)
#545350
Tritanopia (blue-blind)
#91223B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #862b52;
/* rgb */ color: rgb(134, 43, 82);
/* oklch */ color: oklch(43.7% 0.130 357.5);
Tailwind
colors: {
  custom: {
    50: '#ad6b82',
    500: '#862b52',
    950: '#000000',
  },
}
SCSS
$custom: #862b52;
$custom-light: #ad6b82;
$custom-dark: #000000;
JSON
{
  "hex": "#862b52",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 82
  },
  "hsl": {
    "h": 334.286,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43695,
    "c": 0.12975,
    "h": 357.5
  },
  "luminance": 0.07405
}

Semantic roles & 50–950 ramp

primary
#862B52
secondary
#5BB28D
accent
#DB9E4D
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #862B52

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

Preview Lab → · Contrast checker → · Palette generator →

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