#862240#862240

#862240 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.1% C 0.136 H 7.4°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#862240
RGBrgb(134, 34, 64)
HSLhsl(342, 60%, 33%)
HSVhsv(342, 75%, 53%)
CMYKcmyk(0%, 74.6%, 52.2%, 47.5%)
CIE-LABlab(30.84, 44.17, 6.72)
CIE-LCHlch(30.84, 44.68, 8.65°)
OKLaboklab(42.13% 0.1346 0.0174)
OKLCHoklch(42.13% 0.136 7.4)
XYZxyz(11.3299, 6.5841, 5.5237)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862240 #228668
analogous
#862272 #862240 #863622
triadic
#862240 #408622 #224086
tetradic
#862240 #728622 #228668 #362286
square
#862240 #728622 #228668 #362286
split-complementary
#862240 #228636 #227286
monochromatic
#240911 #551629 #862240 #B72E57 #D35077

Accessibility & contrast

On white

9.07
#862240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #862240
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862240#FFFFFF#000000##FFFFFF
##8622401.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3C41
Deuteranopia (green-blind)
#54503E
Tritanopia (blue-blind)
#920C2E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #862240;
/* rgb */ color: rgb(134, 34, 64);
/* oklch */ color: oklch(42.1% 0.136 7.4);
Tailwind
colors: {
  custom: {
    50: '#ae6674',
    500: '#862240',
    950: '#000000',
  },
}
SCSS
$custom: #862240;
$custom-light: #ae6674;
$custom-dark: #000000;
JSON
{
  "hex": "#862240",
  "rgb": {
    "r": 134,
    "g": 34,
    "b": 64
  },
  "hsl": {
    "h": 342,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4213,
    "c": 0.13572,
    "h": 7.4
  },
  "luminance": 0.06583
}

Semantic roles & 50–950 ramp

primary
#862240
secondary
#4EB697
accent
#E3B345
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #862240

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

Preview Lab → · Contrast checker → · Palette generator →

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