#862F4A#862F4A

#862F4A is a dark, vivid pink. Relative luminance 0.076; OKLCH L 43.9% C 0.121 H 4.4°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#862F4A
RGBrgb(134, 47, 74)
HSLhsl(341, 48%, 35%)
HSVhsv(341, 65%, 53%)
CMYKcmyk(0%, 64.9%, 44.8%, 47.5%)
CIE-LABlab(33.13, 39.66, 3.43)
CIE-LCHlch(33.13, 39.81, 4.94°)
OKLaboklab(43.92% 0.121 0.0093)
OKLCHoklch(43.92% 0.121 4.4)
XYZxyz(12.0849, 7.5972, 7.3072)
Luminance0.0760 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862F4A #2F866B
analogous
#862F75 #862F4A #863F2F
triadic
#862F4A #4A862F #2F4A86
tetradic
#862F4A #75862F #2F866B #3F2F86
square
#862F4A #75862F #2F866B #3F2F86
split-complementary
#862F4A #2F863F #2F7586
monochromatic
#2B0F18 #591F31 #862F4A #B33F63 #C96685

Accessibility & contrast

On white

8.34
#862F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#862F4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862F4A
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862F4A#FFFFFF#000000##FFFFFF
##862F4A1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41434B
Deuteranopia (green-blind)
#575448
Tritanopia (blue-blind)
#912439
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #862f4a;
/* rgb */ color: rgb(134, 47, 74);
/* oklch */ color: oklch(43.9% 0.121 4.4);
Tailwind
colors: {
  custom: {
    50: '#ad6d7c',
    500: '#862f4a',
    950: '#000000',
  },
}
SCSS
$custom: #862f4a;
$custom-light: #ad6d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#862f4a",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 74
  },
  "hsl": {
    "h": 341.379,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4392,
    "c": 0.12134,
    "h": 4.4
  },
  "luminance": 0.07596
}

Semantic roles & 50–950 ramp

primary
#862F4A
secondary
#60B098
accent
#D8AE50
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#110709
muted
#807A7B

Preview Lab

Preview with #862F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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