#862F4D#862F4D

#862F4D is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.0% C 0.122 H 2.2°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#862F4D
RGBrgb(134, 47, 77)
HSLhsl(339, 48%, 35%)
HSVhsv(339, 65%, 53%)
CMYKcmyk(0%, 64.9%, 42.5%, 47.5%)
CIE-LABlab(33.22, 39.99, 1.61)
CIE-LCHlch(33.22, 40.02, 2.31°)
OKLaboklab(44.02% 0.1221 0.0046)
OKLCHoklch(44.02% 0.122 2.2)
XYZxyz(12.1884, 7.6386, 7.8523)
Luminance0.0764 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862F4D #2F8668
analogous
#862F78 #862F4D #863C2F
triadic
#862F4D #4D862F #2F4D86
tetradic
#862F4D #78862F #2F8668 #3C2F86
square
#862F4D #78862F #2F8668 #3C2F86
split-complementary
#862F4D #2F863C #2F7886
monochromatic
#2B0F19 #591F33 #862F4D #B33F67 #C96688

Accessibility & contrast

On white

8.31
#862F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#862F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862F4D
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862F4D#FFFFFF#000000##FFFFFF
##862F4D1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40444E
Deuteranopia (green-blind)
#57544B
Tritanopia (blue-blind)
#91253B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #862f4d;
/* rgb */ color: rgb(134, 47, 77);
/* oklch */ color: oklch(44.0% 0.122 2.2);
Tailwind
colors: {
  custom: {
    50: '#ad6d7e',
    500: '#862f4d',
    950: '#000000',
  },
}
SCSS
$custom: #862f4d;
$custom-light: #ad6d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#862f4d",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 77
  },
  "hsl": {
    "h": 339.31,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44016,
    "c": 0.12222,
    "h": 2.2
  },
  "luminance": 0.07637
}

Semantic roles & 50–950 ramp

primary
#862F4D
secondary
#60B095
accent
#D8A950
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #862F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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