#842474#842474

#842474 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.1% C 0.159 H 335.5°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#842474
RGBrgb(132, 36, 116)
HSLhsl(310, 57%, 33%)
HSVhsv(310, 73%, 52%)
CMYKcmyk(0%, 72.7%, 12.1%, 48.2%)
CIE-LABlab(32.77, 49.38, -24.15)
CIE-LCHlch(32.77, 54.97, 333.94°)
OKLaboklab(44.13% 0.1443 -0.0659)
OKLCHoklch(44.13% 0.159 335.5)
XYZxyz(13.2991, 7.4294, 17.2532)
Luminance0.0743 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842474 #248434
analogous
#642484 #842474 #842444
triadic
#842474 #748424 #247484
tetradic
#842474 #846424 #248434 #244484
square
#842474 #846424 #248434 #244484
split-complementary
#842474 #448424 #248464
monochromatic
#240A1F #54174A #842474 #B4319E #D052BB

Accessibility & contrast

On white

8.45
#842474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#842474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842474
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842474#FFFFFF#000000##FFFFFF
##8424741.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244476
Deuteranopia (green-blind)
#455272
Tritanopia (blue-blind)
#8B2B49
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #842474;
/* rgb */ color: rgb(132, 36, 116);
/* oklch */ color: oklch(44.1% 0.159 335.5);
Tailwind
colors: {
  custom: {
    50: '#ab689c',
    500: '#842474',
    950: '#000000',
  },
}
SCSS
$custom: #842474;
$custom-light: #ab689c;
$custom-dark: #000000;
JSON
{
  "hex": "#842474",
  "rgb": {
    "r": 132,
    "g": 36,
    "b": 116
  },
  "hsl": {
    "h": 310,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4413,
    "c": 0.15859,
    "h": 335.5
  },
  "luminance": 0.07428
}

Semantic roles & 50–950 ramp

primary
#842474
secondary
#50B461
accent
#E06147
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #842474

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

Preview Lab → · Contrast checker → · Palette generator →

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