#862242#862242

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

Color values

HEX#862242
RGBrgb(134, 34, 66)
HSLhsl(341, 60%, 33%)
HSVhsv(341, 75%, 53%)
CMYKcmyk(0%, 74.6%, 50.7%, 47.5%)
CIE-LABlab(30.90, 44.36, 5.48)
CIE-LCHlch(30.90, 44.69, 7.04°)
OKLaboklab(42.19% 0.1354 0.0144)
OKLCHoklch(42.19% 0.136 6.1)
XYZxyz(11.3879, 6.6073, 5.8289)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862242 #228666
analogous
#862274 #862242 #863422
triadic
#862242 #428622 #224286
tetradic
#862242 #748622 #228666 #342286
square
#862242 #748622 #228666 #342286
split-complementary
#862242 #228634 #227486
monochromatic
#240912 #55162A #862242 #B72E5A #D3507A

Accessibility & contrast

On white

9.05
#862242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #862242
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862242#FFFFFF#000000##FFFFFF
##8622421.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3C43
Deuteranopia (green-blind)
#545040
Tritanopia (blue-blind)
#920E2F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #862242;
/* rgb */ color: rgb(134, 34, 66);
/* oklch */ color: oklch(42.2% 0.136 6.1);
Tailwind
colors: {
  custom: {
    50: '#ae6676',
    500: '#862242',
    950: '#000000',
  },
}
SCSS
$custom: #862242;
$custom-light: #ae6676;
$custom-dark: #000000;
JSON
{
  "hex": "#862242",
  "rgb": {
    "r": 134,
    "g": 34,
    "b": 66
  },
  "hsl": {
    "h": 340.8,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42188,
    "c": 0.13615,
    "h": 6.1
  },
  "luminance": 0.06606
}

Semantic roles & 50–950 ramp

primary
#862242
secondary
#4EB695
accent
#E3B045
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #862242

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

Preview Lab → · Contrast checker → · Palette generator →

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