#862546#862546

#862546 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.6% C 0.134 H 4.2°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#862546
RGBrgb(134, 37, 70)
HSLhsl(340, 57%, 34%)
HSVhsv(340, 72%, 53%)
CMYKcmyk(0%, 72.4%, 47.8%, 47.5%)
CIE-LABlab(31.43, 43.58, 3.60)
CIE-LCHlch(31.43, 43.72, 4.72°)
OKLaboklab(42.62% 0.1332 0.0097)
OKLCHoklch(42.62% 0.134 4.2)
XYZxyz(11.5995, 6.8352, 6.5017)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862546 #258665
analogous
#862576 #862546 #863525
triadic
#862546 #468625 #254686
tetradic
#862546 #768625 #258665 #352586
square
#862546 #768625 #258665 #352586
split-complementary
#862546 #258635 #257686
monochromatic
#260B14 #56182D #862546 #B6325F #D0557F

Accessibility & contrast

On white

8.87
#862546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#862546 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862546
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862546#FFFFFF#000000##FFFFFF
##8625461.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3E47
Deuteranopia (green-blind)
#545144
Tritanopia (blue-blind)
#921533
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #862546;
/* rgb */ color: rgb(134, 37, 70);
/* oklch */ color: oklch(42.6% 0.134 4.2);
Tailwind
colors: {
  custom: {
    50: '#ae6779',
    500: '#862546',
    950: '#000000',
  },
}
SCSS
$custom: #862546;
$custom-light: #ae6779;
$custom-dark: #000000;
JSON
{
  "hex": "#862546",
  "rgb": {
    "r": 134,
    "g": 37,
    "b": 70
  },
  "hsl": {
    "h": 339.588,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4262,
    "c": 0.13357,
    "h": 4.2
  },
  "luminance": 0.06834
}

Semantic roles & 50–950 ramp

primary
#862546
secondary
#52B493
accent
#E0AC48
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #862546

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

Preview Lab → · Contrast checker → · Palette generator →

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