#842765#842765

#842765 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.7% C 0.144 H 343.8°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#842765
RGBrgb(132, 39, 101)
HSLhsl(320, 54%, 34%)
HSVhsv(320, 70%, 52%)
CMYKcmyk(0%, 70.5%, 23.5%, 48.2%)
CIE-LABlab(32.47, 45.94, -15.04)
CIE-LCHlch(32.47, 48.34, 341.87°)
OKLaboklab(43.69% 0.1383 -0.0401)
OKLCHoklch(43.69% 0.144 343.8)
XYZxyz(12.5906, 7.2974, 13.0549)
Luminance0.0730 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842765 #278446
analogous
#742784 #842765 #842736
triadic
#842765 #658427 #276584
tetradic
#842765 #847427 #278446 #273684
square
#842765 #847427 #278446 #273684
split-complementary
#842765 #368427 #278474
monochromatic
#260B1D #551941 #842765 #B33589 #CE58A6

Accessibility & contrast

On white

8.54
#842765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#842765 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842765
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842765#FFFFFF#000000##FFFFFF
##8427651.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304267
Deuteranopia (green-blind)
#4C5263
Tritanopia (blue-blind)
#8D2742
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #842765;
/* rgb */ color: rgb(132, 39, 101);
/* oklch */ color: oklch(43.7% 0.144 343.8);
Tailwind
colors: {
  custom: {
    50: '#ab6991',
    500: '#842765',
    950: '#000000',
  },
}
SCSS
$custom: #842765;
$custom-light: #ab6991;
$custom-dark: #000000;
JSON
{
  "hex": "#842765",
  "rgb": {
    "r": 132,
    "g": 39,
    "b": 101
  },
  "hsl": {
    "h": 320,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43688,
    "c": 0.14398,
    "h": 343.8
  },
  "luminance": 0.07296
}

Semantic roles & 50–950 ramp

primary
#842765
secondary
#54B274
accent
#DE7B4A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #842765

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

Preview Lab → · Contrast checker → · Palette generator →

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