#842372#842372

#842372 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.9% C 0.158 H 336.4°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#842372
RGBrgb(132, 35, 114)
HSLhsl(311, 58%, 33%)
HSVhsv(311, 73%, 52%)
CMYKcmyk(0%, 73.5%, 13.6%, 48.2%)
CIE-LABlab(32.53, 49.44, -23.25)
CIE-LCHlch(32.53, 54.63, 334.82°)
OKLaboklab(43.93% 0.1451 -0.0633)
OKLCHoklch(43.93% 0.158 336.4)
XYZxyz(13.1542, 7.3237, 16.6372)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842372 #238435
analogous
#652384 #842372 #842341
triadic
#842372 #728423 #237284
tetradic
#842372 #846523 #238435 #234184
square
#842372 #846523 #238435 #234184
split-complementary
#842372 #418423 #238465
monochromatic
#23091E #541648 #842372 #B4309C #D151B9

Accessibility & contrast

On white

8.52
#842372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#842372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842372
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842372#FFFFFF#000000##FFFFFF
##8423721.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254374
Deuteranopia (green-blind)
#465270
Tritanopia (blue-blind)
#8B2947
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #842372;
/* rgb */ color: rgb(132, 35, 114);
/* oklch */ color: oklch(43.9% 0.158 336.4);
Tailwind
colors: {
  custom: {
    50: '#ab689b',
    500: '#842372',
    950: '#000000',
  },
}
SCSS
$custom: #842372;
$custom-light: #ab689b;
$custom-dark: #000000;
JSON
{
  "hex": "#842372",
  "rgb": {
    "r": 132,
    "g": 35,
    "b": 114
  },
  "hsl": {
    "h": 311.134,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43929,
    "c": 0.15834,
    "h": 336.4
  },
  "luminance": 0.07323
}

Semantic roles & 50–950 ramp

primary
#842372
secondary
#4EB461
accent
#E16346
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #842372

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

Preview Lab → · Contrast checker → · Palette generator →

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