#842452#842452

#842452 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.6% C 0.137 H 355.3°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#842452
RGBrgb(132, 36, 82)
HSLhsl(331, 57%, 33%)
HSVhsv(331, 73%, 52%)
CMYKcmyk(0%, 72.7%, 37.9%, 48.2%)
CIE-LABlab(31.30, 44.65, -4.51)
CIE-LCHlch(31.30, 44.88, 354.23°)
OKLaboklab(42.58% 0.1368 -0.0113)
OKLCHoklch(42.58% 0.137 355.3)
XYZxyz(11.6703, 6.7779, 8.6747)
Luminance0.0678 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842452 #248456
analogous
#842482 #842452 #842624
triadic
#842452 #528424 #245284
tetradic
#842452 #828424 #248456 #262484
square
#842452 #828424 #248456 #262484
split-complementary
#842452 #248426 #248284
monochromatic
#240A16 #541734 #842452 #B43170 #D0528F

Accessibility & contrast

On white

8.92
#842452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#842452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842452
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842452#FFFFFF#000000##FFFFFF
##8424521.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363E53
Deuteranopia (green-blind)
#505050
Tritanopia (blue-blind)
#8F1B38
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #842452;
/* rgb */ color: rgb(132, 36, 82);
/* oklch */ color: oklch(42.6% 0.137 355.3);
Tailwind
colors: {
  custom: {
    50: '#ac6782',
    500: '#842452',
    950: '#000000',
  },
}
SCSS
$custom: #842452;
$custom-light: #ac6782;
$custom-dark: #000000;
JSON
{
  "hex": "#842452",
  "rgb": {
    "r": 132,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 331.25,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42578,
    "c": 0.1373,
    "h": 355.3
  },
  "luminance": 0.06776
}

Semantic roles & 50–950 ramp

primary
#842452
secondary
#50B484
accent
#E09747
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #842452

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

Preview Lab → · Contrast checker → · Palette generator →

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