#862262#862262

#862262 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.4% C 0.150 H 345.9°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#862262
RGBrgb(134, 34, 98)
HSLhsl(322, 60%, 33%)
HSVhsv(322, 75%, 53%)
CMYKcmyk(0%, 74.6%, 26.9%, 47.5%)
CIE-LABlab(32.02, 48.01, -13.77)
CIE-LCHlch(32.02, 49.94, 343.99°)
OKLaboklab(43.39% 0.1455 -0.0365)
OKLCHoklch(43.39% 0.15 345.9)
XYZxyz(12.6087, 7.0956, 12.2585)
Luminance0.0709 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862262 #228646
analogous
#782286 #862262 #862230
triadic
#862262 #628622 #226286
tetradic
#862262 #867822 #228646 #223086
square
#862262 #867822 #228646 #223086
split-complementary
#862262 #308622 #228678
monochromatic
#24091B #55163E #862262 #B72E86 #D350A3

Accessibility & contrast

On white

8.68
#862262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#862262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862262
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862262#FFFFFF#000000##FFFFFF
##8622621.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4064
Deuteranopia (green-blind)
#4D5160
Tritanopia (blue-blind)
#8F203F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #862262;
/* rgb */ color: rgb(134, 34, 98);
/* oklch */ color: oklch(43.4% 0.150 345.9);
Tailwind
colors: {
  custom: {
    50: '#ad678e',
    500: '#862262',
    950: '#000000',
  },
}
SCSS
$custom: #862262;
$custom-light: #ad678e;
$custom-dark: #000000;
JSON
{
  "hex": "#862262",
  "rgb": {
    "r": 134,
    "g": 34,
    "b": 98
  },
  "hsl": {
    "h": 321.6,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43385,
    "c": 0.15005,
    "h": 345.9
  },
  "luminance": 0.07094
}

Semantic roles & 50–950 ramp

primary
#862262
secondary
#4EB673
accent
#E37E45
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #862262

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

Preview Lab → · Contrast checker → · Palette generator →

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