#842050#842050

#842050 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.141 H 355.8°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#842050
RGBrgb(132, 32, 80)
HSLhsl(331, 61%, 32%)
HSVhsv(331, 76%, 52%)
CMYKcmyk(0%, 75.8%, 39.4%, 48.2%)
CIE-LABlab(30.69, 45.93, -4.11)
CIE-LCHlch(30.69, 46.11, 354.89°)
OKLaboklab(42.11% 0.141 -0.0102)
OKLCHoklch(42.11% 0.141 355.8)
XYZxyz(11.4810, 6.5192, 8.2416)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842050 #208454
analogous
#842082 #842050 #842220
triadic
#842050 #508420 #205084
tetradic
#842050 #828420 #208454 #222084
square
#842050 #828420 #208454 #222084
split-complementary
#842050 #208422 #208284
monochromatic
#210814 #531432 #842050 #B52C6E #D34B8C

Accessibility & contrast

On white

9.12
#842050 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#842050 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842050
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842050#FFFFFF#000000##FFFFFF
##8420501.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343C51
Deuteranopia (green-blind)
#4F4F4E
Tritanopia (blue-blind)
#8F1435
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #842050;
/* rgb */ color: rgb(132, 32, 80);
/* oklch */ color: oklch(42.1% 0.141 355.8);
Tailwind
colors: {
  custom: {
    50: '#ac6581',
    500: '#842050',
    950: '#000000',
  },
}
SCSS
$custom: #842050;
$custom-light: #ac6581;
$custom-dark: #000000;
JSON
{
  "hex": "#842050",
  "rgb": {
    "r": 132,
    "g": 32,
    "b": 80
  },
  "hsl": {
    "h": 331.2,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42107,
    "c": 0.14133,
    "h": 355.8
  },
  "luminance": 0.06518
}

Semantic roles & 50–950 ramp

primary
#842050
secondary
#4AB682
accent
#E49744
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #842050

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

Preview Lab → · Contrast checker → · Palette generator →

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