#842671#842671

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

Color values

HEX#842671
RGBrgb(132, 38, 113)
HSLhsl(312, 55%, 33%)
HSVhsv(312, 71%, 52%)
CMYKcmyk(0%, 71.2%, 14.4%, 48.2%)
CIE-LABlab(32.89, 48.14, -22.06)
CIE-LCHlch(32.89, 52.96, 335.38°)
OKLaboklab(44.17% 0.1416 -0.0599)
OKLCHoklch(44.17% 0.154 337.1)
XYZxyz(13.1897, 7.4852, 16.3697)
Luminance0.0748 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842671 #268439
analogous
#682684 #842671 #842642
triadic
#842671 #718426 #267184
tetradic
#842671 #846826 #268439 #264284
square
#842671 #846826 #268439 #264284
split-complementary
#842671 #428426 #268468
monochromatic
#250B20 #541848 #842671 #B4349A #CE56B6

Accessibility & contrast

On white

8.41
#842671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #842671
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842671#FFFFFF#000000##FFFFFF
##8426711.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294473
Deuteranopia (green-blind)
#47536F
Tritanopia (blue-blind)
#8B2B48
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #842671;
/* rgb */ color: rgb(132, 38, 113);
/* oklch */ color: oklch(44.2% 0.154 337.1);
Tailwind
colors: {
  custom: {
    50: '#ab699a',
    500: '#842671',
    950: '#000000',
  },
}
SCSS
$custom: #842671;
$custom-light: #ab699a;
$custom-dark: #000000;
JSON
{
  "hex": "#842671",
  "rgb": {
    "r": 132,
    "g": 38,
    "b": 113
  },
  "hsl": {
    "h": 312.128,
    "s": 55.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44169,
    "c": 0.15377,
    "h": 337.1
  },
  "luminance": 0.07484
}

Semantic roles & 50–950 ramp

primary
#842671
secondary
#53B366
accent
#DF6749
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #842671

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

Preview Lab → · Contrast checker → · Palette generator →

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