#862F4C#862F4C

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

Color values

HEX#862F4C
RGBrgb(134, 47, 76)
HSLhsl(340, 48%, 35%)
HSVhsv(340, 65%, 53%)
CMYKcmyk(0%, 64.9%, 43.3%, 47.5%)
CIE-LABlab(33.19, 39.88, 2.22)
CIE-LCHlch(33.19, 39.94, 3.18°)
OKLaboklab(43.98% 0.1218 0.0062)
OKLCHoklch(43.98% 0.122 2.9)
XYZxyz(12.1534, 7.6246, 7.6678)
Luminance0.0762 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862F4C #2F8669
analogous
#862F77 #862F4C #863D2F
triadic
#862F4C #4C862F #2F4C86
tetradic
#862F4C #77862F #2F8669 #3D2F86
square
#862F4C #77862F #2F8669 #3D2F86
split-complementary
#862F4C #2F863D #2F7786
monochromatic
#2B0F19 #591F32 #862F4C #B33F66 #C96687

Accessibility & contrast

On white

8.32
#862F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #862F4C
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862F4C#FFFFFF#000000##FFFFFF
##862F4C1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40434D
Deuteranopia (green-blind)
#57544A
Tritanopia (blue-blind)
#91253A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #862f4c;
/* rgb */ color: rgb(134, 47, 76);
/* oklch */ color: oklch(44.0% 0.122 2.9);
Tailwind
colors: {
  custom: {
    50: '#ad6d7d',
    500: '#862f4c',
    950: '#000000',
  },
}
SCSS
$custom: #862f4c;
$custom-light: #ad6d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#862f4c",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 76
  },
  "hsl": {
    "h": 340,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43983,
    "c": 0.12191,
    "h": 2.9
  },
  "luminance": 0.07623
}

Semantic roles & 50–950 ramp

primary
#862F4C
secondary
#60B096
accent
#D8AA50
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#110709
muted
#807A7B

Preview Lab

Preview with #862F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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