#841870#841870

#841870 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.9% C 0.169 H 337.1°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#841870
RGBrgb(132, 24, 112)
HSLhsl(311, 69%, 31%)
HSVhsv(311, 82%, 52%)
CMYKcmyk(0%, 81.8%, 15.2%, 48.2%)
CIE-LABlab(31.18, 52.69, -24.08)
CIE-LCHlch(31.18, 57.93, 335.44°)
OKLaboklab(42.92% 0.1556 -0.0656)
OKLCHoklch(42.92% 0.169 337.1)
XYZxyz(12.7673, 6.7299, 15.9527)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841870 #18842C
analogous
#621884 #841870 #84183A
triadic
#841870 #708418 #187084
tetradic
#841870 #846218 #18842C #183A84
square
#841870 #846218 #18842C #183A84
split-complementary
#841870 #3A8418 #188462
monochromatic
#1C0518 #500F44 #841870 #B8219C #DB3BBE

Accessibility & contrast

On white

8.95
#841870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#841870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841870
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841870#FFFFFF#000000##FFFFFF
##8418701.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3F72
Deuteranopia (green-blind)
#434F6E
Tritanopia (blue-blind)
#8B2043
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #841870;
/* rgb */ color: rgb(132, 24, 112);
/* oklch */ color: oklch(42.9% 0.169 337.1);
Tailwind
colors: {
  custom: {
    50: '#ab6399',
    500: '#841870',
    950: '#000000',
  },
}
SCSS
$custom: #841870;
$custom-light: #ab6399;
$custom-dark: #000000;
JSON
{
  "hex": "#841870",
  "rgb": {
    "r": 132,
    "g": 24,
    "b": 112
  },
  "hsl": {
    "h": 311.111,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42924,
    "c": 0.16882,
    "h": 337.1
  },
  "luminance": 0.06729
}

Semantic roles & 50–950 ramp

primary
#841870
secondary
#40B856
accent
#EC5C3C
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #841870

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

Preview Lab → · Contrast checker → · Palette generator →

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