#862147#862147

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

Color values

HEX#862147
RGBrgb(134, 33, 71)
HSLhsl(337, 60%, 33%)
HSVhsv(337, 75%, 53%)
CMYKcmyk(0%, 75.4%, 47%, 47.5%)
CIE-LABlab(30.91, 45.21, 2.19)
CIE-LCHlch(30.91, 45.26, 2.78°)
OKLaboklab(42.25% 0.1385 0.0061)
OKLCHoklch(42.25% 0.139 2.5)
XYZxyz(11.5136, 6.6125, 6.6301)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862147 #218660
analogous
#862179 #862147 #862E21
triadic
#862147 #478621 #214786
tetradic
#862147 #798621 #218660 #2E2186
square
#862147 #798621 #218660 #2E2186
split-complementary
#862147 #21862E #217986
monochromatic
#240913 #55152D #862147 #B72D61 #D34E80

Accessibility & contrast

On white

9.04
#862147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#862147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862147
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862147#FFFFFF#000000##FFFFFF
##8621471.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383C48
Deuteranopia (green-blind)
#535045
Tritanopia (blue-blind)
#920F31
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #862147;
/* rgb */ color: rgb(134, 33, 71);
/* oklch */ color: oklch(42.2% 0.139 2.5);
Tailwind
colors: {
  custom: {
    50: '#ae667a',
    500: '#862147',
    950: '#000000',
  },
}
SCSS
$custom: #862147;
$custom-light: #ae667a;
$custom-dark: #000000;
JSON
{
  "hex": "#862147",
  "rgb": {
    "r": 134,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 337.426,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42245,
    "c": 0.13864,
    "h": 2.5
  },
  "luminance": 0.06611
}

Semantic roles & 50–950 ramp

primary
#862147
secondary
#4CB78F
accent
#E4A844
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #862147

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

Preview Lab → · Contrast checker → · Palette generator →

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