#842259#842259

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

Color values

HEX#842259
RGBrgb(132, 34, 89)
HSLhsl(326, 59%, 33%)
HSVhsv(326, 74%, 52%)
CMYKcmyk(0%, 74.2%, 32.6%, 48.2%)
CIE-LABlab(31.28, 46.27, -9.10)
CIE-LCHlch(31.28, 47.16, 348.87°)
OKLaboklab(42.65% 0.1413 -0.0237)
OKLCHoklch(42.65% 0.143 350.5)
XYZxyz(11.8916, 6.7722, 10.1302)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842259 #22844D
analogous
#7E2284 #842259 #842228
triadic
#842259 #598422 #225984
tetradic
#842259 #847E22 #22844D #222884
square
#842259 #847E22 #22844D #222884
split-complementary
#842259 #288422 #22847E
monochromatic
#230917 #531538 #842259 #B52F7A #D24F98

Accessibility & contrast

On white

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

On black

2.35
#842259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##842259#FFFFFF#000000##FFFFFF
##8422591.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323E5B
Deuteranopia (green-blind)
#4E5057
Tritanopia (blue-blind)
#8E1C3A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #842259;
/* rgb */ color: rgb(132, 34, 89);
/* oklch */ color: oklch(42.7% 0.143 350.5);
Tailwind
colors: {
  custom: {
    50: '#ac6688',
    500: '#842259',
    950: '#000000',
  },
}
SCSS
$custom: #842259;
$custom-light: #ac6688;
$custom-dark: #000000;
JSON
{
  "hex": "#842259",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 89
  },
  "hsl": {
    "h": 326.327,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42654,
    "c": 0.14331,
    "h": 350.5
  },
  "luminance": 0.06771
}

Semantic roles & 50–950 ramp

primary
#842259
secondary
#4DB57B
accent
#E28A46
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #842259

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

Preview Lab → · Contrast checker → · Palette generator →

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