#841862#841862

#841862 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.2% C 0.160 H 344.3°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#841862
RGBrgb(132, 24, 98)
HSLhsl(319, 69%, 31%)
HSVhsv(319, 82%, 52%)
CMYKcmyk(0%, 81.8%, 25.8%, 48.2%)
CIE-LABlab(30.50, 50.73, -16.14)
CIE-LCHlch(30.50, 53.23, 342.35°)
OKLaboklab(42.21% 0.1537 -0.0431)
OKLCHoklch(42.21% 0.16 344.3)
XYZxyz(12.0475, 6.4420, 12.1619)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841862 #18843A
analogous
#701884 #841862 #84182C
triadic
#841862 #628418 #186284
tetradic
#841862 #847018 #18843A #182C84
square
#841862 #847018 #18843A #182C84
split-complementary
#841862 #2C8418 #188470
monochromatic
#1C0515 #500F3C #841862 #B82188 #DB3BA9

Accessibility & contrast

On white

9.18
#841862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#841862 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841862
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841862#FFFFFF#000000##FFFFFF
##8418621.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263C64
Deuteranopia (green-blind)
#484E60
Tritanopia (blue-blind)
#8D173C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #841862;
/* rgb */ color: rgb(132, 24, 98);
/* oklch */ color: oklch(42.2% 0.160 344.3);
Tailwind
colors: {
  custom: {
    50: '#ac638e',
    500: '#841862',
    950: '#000000',
  },
}
SCSS
$custom: #841862;
$custom-light: #ac638e;
$custom-dark: #000000;
JSON
{
  "hex": "#841862",
  "rgb": {
    "r": 132,
    "g": 24,
    "b": 98
  },
  "hsl": {
    "h": 318.889,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4221,
    "c": 0.15961,
    "h": 344.3
  },
  "luminance": 0.06441
}

Semantic roles & 50–950 ramp

primary
#841862
secondary
#40B866
accent
#EC733C
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #841862

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

Preview Lab → · Contrast checker → · Palette generator →

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