#842867#842867

#842867 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.9% C 0.144 H 342.7°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#842867
RGBrgb(132, 40, 103)
HSLhsl(319, 53%, 34%)
HSVhsv(319, 70%, 52%)
CMYKcmyk(0%, 69.7%, 22%, 48.2%)
CIE-LABlab(32.71, 45.82, -15.97)
CIE-LCHlch(32.71, 48.52, 340.79°)
OKLaboklab(43.89% 0.1375 -0.0427)
OKLCHoklch(43.89% 0.144 342.7)
XYZxyz(12.7231, 7.4036, 13.5883)
Luminance0.0740 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842867 #288445
analogous
#732884 #842867 #842839
triadic
#842867 #678428 #286784
tetradic
#842867 #847328 #288445 #283984
square
#842867 #847328 #288445 #283984
split-complementary
#842867 #398428 #288473
monochromatic
#260C1E #551A42 #842867 #B3368C #CD5AA9

Accessibility & contrast

On white

8.47
#842867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#842867 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842867
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842867#FFFFFF#000000##FFFFFF
##8428671.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304369
Deuteranopia (green-blind)
#4C5265
Tritanopia (blue-blind)
#8C2844
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #842867;
/* rgb */ color: rgb(132, 40, 103);
/* oklch */ color: oklch(43.9% 0.144 342.7);
Tailwind
colors: {
  custom: {
    50: '#ab6a92',
    500: '#842867',
    950: '#000000',
  },
}
SCSS
$custom: #842867;
$custom-light: #ab6a92;
$custom-dark: #000000;
JSON
{
  "hex": "#842867",
  "rgb": {
    "r": 132,
    "g": 40,
    "b": 103
  },
  "hsl": {
    "h": 318.913,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43887,
    "c": 0.14393,
    "h": 342.7
  },
  "luminance": 0.07402
}

Semantic roles & 50–950 ramp

primary
#842867
secondary
#56B273
accent
#DD794B
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #842867

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

Preview Lab → · Contrast checker → · Palette generator →

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