#862F4F#862F4F

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

Color values

HEX#862F4F
RGBrgb(134, 47, 79)
HSLhsl(338, 48%, 35%)
HSVhsv(338, 65%, 53%)
CMYKcmyk(0%, 64.9%, 41%, 47.5%)
CIE-LABlab(33.28, 40.22, 0.40)
CIE-LCHlch(33.28, 40.22, 0.58°)
OKLaboklab(44.08% 0.1229 0.0015)
OKLCHoklch(44.08% 0.123 0.7)
XYZxyz(12.2601, 7.6673, 8.2299)
Luminance0.0767 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862F4F #2F8666
analogous
#862F7A #862F4F #863A2F
triadic
#862F4F #4F862F #2F4F86
tetradic
#862F4F #7A862F #2F8666 #3A2F86
square
#862F4F #7A862F #2F8666 #3A2F86
split-complementary
#862F4F #2F863A #2F7A86
monochromatic
#2B0F1A #591F34 #862F4F #B33F6A #C9668B

Accessibility & contrast

On white

8.29
#862F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #862F4F
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862F4F#FFFFFF#000000##FFFFFF
##862F4F1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4450
Deuteranopia (green-blind)
#57544D
Tritanopia (blue-blind)
#91263C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #862f4f;
/* rgb */ color: rgb(134, 47, 79);
/* oklch */ color: oklch(44.1% 0.123 0.7);
Tailwind
colors: {
  custom: {
    50: '#ad6d80',
    500: '#862f4f',
    950: '#000000',
  },
}
SCSS
$custom: #862f4f;
$custom-light: #ad6d80;
$custom-dark: #000000;
JSON
{
  "hex": "#862f4f",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 79
  },
  "hsl": {
    "h": 337.931,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44082,
    "c": 0.12289,
    "h": 0.7
  },
  "luminance": 0.07666
}

Semantic roles & 50–950 ramp

primary
#862F4F
secondary
#60B093
accent
#D8A650
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #862F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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