#862340#862340

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

Color values

HEX#862340
RGBrgb(134, 35, 64)
HSLhsl(342, 59%, 33%)
HSVhsv(342, 74%, 53%)
CMYKcmyk(0%, 73.9%, 52.2%, 47.5%)
CIE-LABlab(30.98, 43.79, 6.92)
CIE-LCHlch(30.98, 44.34, 8.97°)
OKLaboklab(42.23% 0.1334 0.0179)
OKLCHoklch(42.23% 0.135 7.6)
XYZxyz(11.3589, 6.6421, 5.5334)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862340 #238669
analogous
#862371 #862340 #863723
triadic
#862340 #408623 #234086
tetradic
#862340 #718623 #238669 #372386
square
#862340 #718623 #238669 #372386
split-complementary
#862340 #238637 #237186
monochromatic
#250A12 #551629 #862340 #B73057 #D25277

Accessibility & contrast

On white

9.02
#862340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#862340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862340
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862340#FFFFFF#000000##FFFFFF
##8623401.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3C41
Deuteranopia (green-blind)
#55503E
Tritanopia (blue-blind)
#920E2F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #862340;
/* rgb */ color: rgb(134, 35, 64);
/* oklch */ color: oklch(42.2% 0.135 7.6);
Tailwind
colors: {
  custom: {
    50: '#ae6674',
    500: '#862340',
    950: '#000000',
  },
}
SCSS
$custom: #862340;
$custom-light: #ae6674;
$custom-dark: #000000;
JSON
{
  "hex": "#862340",
  "rgb": {
    "r": 134,
    "g": 35,
    "b": 64
  },
  "hsl": {
    "h": 342.424,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42231,
    "c": 0.13456,
    "h": 7.6
  },
  "luminance": 0.06641
}

Semantic roles & 50–950 ramp

primary
#862340
secondary
#4FB598
accent
#E2B446
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #862340

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

Preview Lab → · Contrast checker → · Palette generator →

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