#862252#862252

#862252 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.142 H 355.6°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#862252
RGBrgb(134, 34, 82)
HSLhsl(331, 60%, 33%)
HSVhsv(331, 75%, 53%)
CMYKcmyk(0%, 74.6%, 38.8%, 47.5%)
CIE-LABlab(31.40, 46.01, -4.32)
CIE-LCHlch(31.40, 46.21, 354.64°)
OKLaboklab(42.73% 0.1412 -0.0108)
OKLCHoklch(42.73% 0.142 355.6)
XYZxyz(11.9273, 6.8230, 8.6699)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862252 #228656
analogous
#862284 #862252 #862422
triadic
#862252 #528622 #225286
tetradic
#862252 #848622 #228656 #242286
square
#862252 #848622 #228656 #242286
split-complementary
#862252 #228624 #228486
monochromatic
#240916 #551634 #862252 #B72E70 #D3508F

Accessibility & contrast

On white

8.88
#862252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#862252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862252
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862252#FFFFFF#000000##FFFFFF
##8622521.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353E53
Deuteranopia (green-blind)
#515150
Tritanopia (blue-blind)
#911737
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #862252;
/* rgb */ color: rgb(134, 34, 82);
/* oklch */ color: oklch(42.7% 0.142 355.6);
Tailwind
colors: {
  custom: {
    50: '#ad6682',
    500: '#862252',
    950: '#000000',
  },
}
SCSS
$custom: #862252;
$custom-light: #ad6682;
$custom-dark: #000000;
JSON
{
  "hex": "#862252",
  "rgb": {
    "r": 134,
    "g": 34,
    "b": 82
  },
  "hsl": {
    "h": 331.2,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42725,
    "c": 0.14156,
    "h": 355.6
  },
  "luminance": 0.06822
}

Semantic roles & 50–950 ramp

primary
#862252
secondary
#4EB684
accent
#E39745
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #862252

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

Preview Lab → · Contrast checker → · Palette generator →

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