#842260#842260

#842260 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.147 H 346.3°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#842260
RGBrgb(132, 34, 96)
HSLhsl(322, 59%, 33%)
HSVhsv(322, 74%, 52%)
CMYKcmyk(0%, 74.2%, 27.3%, 48.2%)
CIE-LABlab(31.57, 47.18, -13.21)
CIE-LCHlch(31.57, 49.00, 344.36°)
OKLaboklab(42.96% 0.1431 -0.035)
OKLCHoklch(42.96% 0.147 346.3)
XYZxyz(12.1996, 6.8954, 11.7525)
Luminance0.0689 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842260 #228446
analogous
#772284 #842260 #84222F
triadic
#842260 #608422 #226084
tetradic
#842260 #847722 #228446 #222F84
square
#842260 #847722 #228446 #222F84
split-complementary
#842260 #2F8422 #228477
monochromatic
#230919 #53153D #842260 #B52F83 #D24FA2

Accessibility & contrast

On white

8.83
#842260 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#842260 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842260
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842260#FFFFFF#000000##FFFFFF
##8422601.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4062
Deuteranopia (green-blind)
#4C505E
Tritanopia (blue-blind)
#8D1F3E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #842260;
/* rgb */ color: rgb(132, 34, 96);
/* oklch */ color: oklch(43.0% 0.147 346.3);
Tailwind
colors: {
  custom: {
    50: '#ab678d',
    500: '#842260',
    950: '#000000',
  },
}
SCSS
$custom: #842260;
$custom-light: #ab678d;
$custom-dark: #000000;
JSON
{
  "hex": "#842260",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 96
  },
  "hsl": {
    "h": 322.041,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42955,
    "c": 0.14733,
    "h": 346.3
  },
  "luminance": 0.06894
}

Semantic roles & 50–950 ramp

primary
#842260
secondary
#4DB573
accent
#E27F46
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #842260

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

Preview Lab → · Contrast checker → · Palette generator →

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