#842760#842760

#842760 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.5% C 0.141 H 346.8°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#842760
RGBrgb(132, 39, 96)
HSLhsl(323, 54%, 34%)
HSVhsv(323, 70%, 52%)
CMYKcmyk(0%, 70.5%, 27.3%, 48.2%)
CIE-LABlab(32.26, 45.24, -12.15)
CIE-LCHlch(32.26, 46.84, 344.97°)
OKLaboklab(43.46% 0.1371 -0.0321)
OKLCHoklch(43.46% 0.141 346.8)
XYZxyz(12.3531, 7.2024, 11.8037)
Luminance0.0720 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842760 #27844B
analogous
#792784 #842760 #842731
triadic
#842760 #608427 #276084
tetradic
#842760 #847927 #27844B #273184
square
#842760 #847927 #27844B #273184
split-complementary
#842760 #318427 #278479
monochromatic
#260B1B #55193E #842760 #B33582 #CE58A0

Accessibility & contrast

On white

8.61
#842760 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#842760 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842760
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842760#FFFFFF#000000##FFFFFF
##8427601.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334262
Deuteranopia (green-blind)
#4E525E
Tritanopia (blue-blind)
#8D2440
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #842760;
/* rgb */ color: rgb(132, 39, 96);
/* oklch */ color: oklch(43.5% 0.141 346.8);
Tailwind
colors: {
  custom: {
    50: '#ab698d',
    500: '#842760',
    950: '#000000',
  },
}
SCSS
$custom: #842760;
$custom-light: #ab698d;
$custom-dark: #000000;
JSON
{
  "hex": "#842760",
  "rgb": {
    "r": 132,
    "g": 39,
    "b": 96
  },
  "hsl": {
    "h": 323.226,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43464,
    "c": 0.14081,
    "h": 346.8
  },
  "luminance": 0.07201
}

Semantic roles & 50–950 ramp

primary
#842760
secondary
#54B279
accent
#DE834A
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #842760

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

Preview Lab → · Contrast checker → · Palette generator →

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