#842852#842852

#842852 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.0% C 0.132 H 356.1°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#842852
RGBrgb(132, 40, 82)
HSLhsl(333, 53%, 34%)
HSVhsv(333, 70%, 52%)
CMYKcmyk(0%, 69.7%, 37.9%, 48.2%)
CIE-LABlab(31.88, 43.02, -3.64)
CIE-LCHlch(31.88, 43.18, 355.16°)
OKLaboklab(43.01% 0.1317 -0.009)
OKLCHoklch(43.01% 0.132 356.1)
XYZxyz(11.7982, 7.0337, 8.7173)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842852 #28845A
analogous
#842880 #842852 #842C28
triadic
#842852 #528428 #285284
tetradic
#842852 #808428 #28845A #2C2884
square
#842852 #808428 #28845A #2C2884
split-complementary
#842852 #28842C #288084
monochromatic
#260C18 #551A35 #842852 #B3366F #CD5A8E

Accessibility & contrast

On white

8.73
#842852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#842852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842852
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842852#FFFFFF#000000##FFFFFF
##8428521.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384053
Deuteranopia (green-blind)
#525150
Tritanopia (blue-blind)
#8F2039
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #842852;
/* rgb */ color: rgb(132, 40, 82);
/* oklch */ color: oklch(43.0% 0.132 356.1);
Tailwind
colors: {
  custom: {
    50: '#ac6982',
    500: '#842852',
    950: '#000000',
  },
}
SCSS
$custom: #842852;
$custom-light: #ac6982;
$custom-dark: #000000;
JSON
{
  "hex": "#842852",
  "rgb": {
    "r": 132,
    "g": 40,
    "b": 82
  },
  "hsl": {
    "h": 332.609,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43011,
    "c": 0.132,
    "h": 356.1
  },
  "luminance": 0.07032
}

Semantic roles & 50–950 ramp

primary
#842852
secondary
#56B288
accent
#DD9A4B
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #842852

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

Preview Lab → · Contrast checker → · Palette generator →

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