#842672#842672

#842672 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.2% C 0.155 H 336.5°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#842672
RGBrgb(132, 38, 114)
HSLhsl(311, 55%, 33%)
HSVhsv(311, 71%, 52%)
CMYKcmyk(0%, 71.2%, 13.6%, 48.2%)
CIE-LABlab(32.94, 48.30, -22.62)
CIE-LCHlch(32.94, 53.33, 334.91°)
OKLaboklab(44.22% 0.1417 -0.0615)
OKLCHoklch(44.22% 0.155 336.5)
XYZxyz(13.2463, 7.5078, 16.6678)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842672 #268438
analogous
#672684 #842672 #842643
triadic
#842672 #728426 #267284
tetradic
#842672 #846726 #268438 #264384
square
#842672 #846726 #268438 #264384
split-complementary
#842672 #438426 #268467
monochromatic
#250B20 #541849 #842672 #B4349B #CE56B7

Accessibility & contrast

On white

8.40
#842672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#842672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842672
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842672#FFFFFF#000000##FFFFFF
##8426721.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284474
Deuteranopia (green-blind)
#475370
Tritanopia (blue-blind)
#8B2C48
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #842672;
/* rgb */ color: rgb(132, 38, 114);
/* oklch */ color: oklch(44.2% 0.155 336.5);
Tailwind
colors: {
  custom: {
    50: '#ab699b',
    500: '#842672',
    950: '#000000',
  },
}
SCSS
$custom: #842672;
$custom-light: #ab699b;
$custom-dark: #000000;
JSON
{
  "hex": "#842672",
  "rgb": {
    "r": 132,
    "g": 38,
    "b": 114
  },
  "hsl": {
    "h": 311.489,
    "s": 55.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44221,
    "c": 0.15452,
    "h": 336.5
  },
  "luminance": 0.07507
}

Semantic roles & 50–950 ramp

primary
#842672
secondary
#53B365
accent
#DF6649
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #842672

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

Preview Lab → · Contrast checker → · Palette generator →

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