#862048#862048

#862048 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.2% C 0.140 H 1.7°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#862048
RGBrgb(134, 32, 72)
HSLhsl(336, 61%, 33%)
HSVhsv(336, 76%, 53%)
CMYKcmyk(0%, 76.1%, 46.3%, 47.5%)
CIE-LABlab(30.81, 45.67, 1.39)
CIE-LCHlch(30.81, 45.69, 1.74°)
OKLaboklab(42.18% 0.14 0.0041)
OKLCHoklch(42.18% 0.14 1.7)
XYZxyz(11.5186, 6.5707, 6.7914)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862048 #20865E
analogous
#86207B #862048 #862B20
triadic
#862048 #488620 #204886
tetradic
#862048 #7B8620 #20865E #2B2086
square
#862048 #7B8620 #20865E #2B2086
split-complementary
#862048 #20862B #207B86
monochromatic
#230813 #55142D #862048 #B72C63 #D44C82

Accessibility & contrast

On white

9.08
#862048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#862048 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862048
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862048#FFFFFF#000000##FFFFFF
##8620481.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373C49
Deuteranopia (green-blind)
#525046
Tritanopia (blue-blind)
#920E31
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #862048;
/* rgb */ color: rgb(134, 32, 72);
/* oklch */ color: oklch(42.2% 0.140 1.7);
Tailwind
colors: {
  custom: {
    50: '#ae657a',
    500: '#862048',
    950: '#000000',
  },
}
SCSS
$custom: #862048;
$custom-light: #ae657a;
$custom-dark: #000000;
JSON
{
  "hex": "#862048",
  "rgb": {
    "r": 134,
    "g": 32,
    "b": 72
  },
  "hsl": {
    "h": 336.471,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42182,
    "c": 0.14009,
    "h": 1.7
  },
  "luminance": 0.06569
}

Semantic roles & 50–950 ramp

primary
#862048
secondary
#4BB78D
accent
#E5A543
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #862048

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

Preview Lab → · Contrast checker → · Palette generator →

#862048 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva