#842767#842767

#842767 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.8% C 0.145 H 342.6°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#842767
RGBrgb(132, 39, 103)
HSLhsl(319, 54%, 34%)
HSVhsv(319, 70%, 52%)
CMYKcmyk(0%, 70.5%, 22%, 48.2%)
CIE-LABlab(32.56, 46.23, -16.19)
CIE-LCHlch(32.56, 48.98, 340.70°)
OKLaboklab(43.78% 0.1387 -0.0433)
OKLCHoklch(43.78% 0.145 342.6)
XYZxyz(12.6898, 7.3371, 13.5772)
Luminance0.0734 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842767 #278444
analogous
#722784 #842767 #842738
triadic
#842767 #678427 #276784
tetradic
#842767 #847227 #278444 #273884
square
#842767 #847227 #278444 #273884
split-complementary
#842767 #388427 #278472
monochromatic
#260B1D #551942 #842767 #B3358C #CE58A9

Accessibility & contrast

On white

8.51
#842767 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#842767 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842767
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842767#FFFFFF#000000##FFFFFF
##8427671.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4369
Deuteranopia (green-blind)
#4B5265
Tritanopia (blue-blind)
#8C2843
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #842767;
/* rgb */ color: rgb(132, 39, 103);
/* oklch */ color: oklch(43.8% 0.145 342.6);
Tailwind
colors: {
  custom: {
    50: '#ab6992',
    500: '#842767',
    950: '#000000',
  },
}
SCSS
$custom: #842767;
$custom-light: #ab6992;
$custom-dark: #000000;
JSON
{
  "hex": "#842767",
  "rgb": {
    "r": 132,
    "g": 39,
    "b": 103
  },
  "hsl": {
    "h": 318.71,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43781,
    "c": 0.14531,
    "h": 342.6
  },
  "luminance": 0.07336
}

Semantic roles & 50–950 ramp

primary
#842767
secondary
#54B272
accent
#DE784A
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #842767

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

Preview Lab → · Contrast checker → · Palette generator →

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