#862F4E#862F4E

#862F4E is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.0% C 0.123 H 1.4°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#862F4E
RGBrgb(134, 47, 78)
HSLhsl(339, 48%, 35%)
HSVhsv(339, 65%, 53%)
CMYKcmyk(0%, 64.9%, 41.8%, 47.5%)
CIE-LABlab(33.25, 40.10, 1.01)
CIE-LCHlch(33.25, 40.12, 1.44°)
OKLaboklab(44.05% 0.1225 0.0031)
OKLCHoklch(44.05% 0.123 1.4)
XYZxyz(12.2240, 7.6528, 8.0397)
Luminance0.0765 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862F4E #2F8667
analogous
#862F79 #862F4E #863C2F
triadic
#862F4E #4E862F #2F4E86
tetradic
#862F4E #79862F #2F8667 #3C2F86
square
#862F4E #79862F #2F8667 #3C2F86
split-complementary
#862F4E #2F863C #2F7986
monochromatic
#2B0F19 #591F34 #862F4E #B33F68 #C96689

Accessibility & contrast

On white

8.30
#862F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #862F4E
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862F4E#FFFFFF#000000##FFFFFF
##862F4E1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40444F
Deuteranopia (green-blind)
#57544C
Tritanopia (blue-blind)
#91263B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #862f4e;
/* rgb */ color: rgb(134, 47, 78);
/* oklch */ color: oklch(44.0% 0.123 1.4);
Tailwind
colors: {
  custom: {
    50: '#ad6d7f',
    500: '#862f4e',
    950: '#000000',
  },
}
SCSS
$custom: #862f4e;
$custom-light: #ad6d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#862f4e",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 338.621,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44048,
    "c": 0.12255,
    "h": 1.4
  },
  "luminance": 0.07651
}

Semantic roles & 50–950 ramp

primary
#862F4E
secondary
#60B094
accent
#D8A750
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #862F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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