#862257#862257

#862257 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.9% C 0.144 H 352.5°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#862257
RGBrgb(134, 34, 87)
HSLhsl(328, 60%, 33%)
HSVhsv(328, 75%, 53%)
CMYKcmyk(0%, 74.6%, 35.1%, 47.5%)
CIE-LABlab(31.58, 46.60, -7.31)
CIE-LCHlch(31.58, 47.17, 351.08°)
OKLaboklab(42.92% 0.1427 -0.0188)
OKLCHoklch(42.92% 0.144 352.5)
XYZxyz(12.1246, 6.9019, 9.7087)
Luminance0.0690 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862257 #228651
analogous
#832286 #862257 #862225
triadic
#862257 #578622 #225786
tetradic
#862257 #868322 #228651 #222586
square
#862257 #868322 #228651 #222586
split-complementary
#862257 #258622 #228683
monochromatic
#240918 #551637 #862257 #B72E77 #D35095

Accessibility & contrast

On white

8.82
#862257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#862257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862257
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862257#FFFFFF#000000##FFFFFF
##8622571.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333F58
Deuteranopia (green-blind)
#505155
Tritanopia (blue-blind)
#911A39
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #862257;
/* rgb */ color: rgb(134, 34, 87);
/* oklch */ color: oklch(42.9% 0.144 352.5);
Tailwind
colors: {
  custom: {
    50: '#ad6786',
    500: '#862257',
    950: '#000000',
  },
}
SCSS
$custom: #862257;
$custom-light: #ad6786;
$custom-dark: #000000;
JSON
{
  "hex": "#862257",
  "rgb": {
    "r": 134,
    "g": 34,
    "b": 87
  },
  "hsl": {
    "h": 328.2,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42919,
    "c": 0.14391,
    "h": 352.5
  },
  "luminance": 0.06901
}

Semantic roles & 50–950 ramp

primary
#862257
secondary
#4EB67F
accent
#E38F45
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #862257

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

Preview Lab → · Contrast checker → · Palette generator →

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