#842565#842565

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

Color values

HEX#842565
RGBrgb(132, 37, 101)
HSLhsl(320, 56%, 33%)
HSVhsv(320, 72%, 52%)
CMYKcmyk(0%, 72%, 23.5%, 48.2%)
CIE-LABlab(32.19, 46.74, -15.48)
CIE-LCHlch(32.19, 49.23, 341.67°)
OKLaboklab(43.48% 0.1407 -0.0413)
OKLCHoklch(43.48% 0.147 343.6)
XYZxyz(12.5267, 7.1695, 13.0335)
Luminance0.0717 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842565 #258444
analogous
#732584 #842565 #842535
triadic
#842565 #658425 #256584
tetradic
#842565 #847325 #258444 #253584
square
#842565 #847325 #258444 #253584
split-complementary
#842565 #358425 #258473
monochromatic
#240A1C #541840 #842565 #B4328A #CF54A7

Accessibility & contrast

On white

8.63
#842565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#842565 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842565
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842565#FFFFFF#000000##FFFFFF
##8425651.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4267
Deuteranopia (green-blind)
#4B5163
Tritanopia (blue-blind)
#8D2541
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #842565;
/* rgb */ color: rgb(132, 37, 101);
/* oklch */ color: oklch(43.5% 0.147 343.6);
Tailwind
colors: {
  custom: {
    50: '#ab6891',
    500: '#842565',
    950: '#000000',
  },
}
SCSS
$custom: #842565;
$custom-light: #ab6891;
$custom-dark: #000000;
JSON
{
  "hex": "#842565",
  "rgb": {
    "r": 132,
    "g": 37,
    "b": 101
  },
  "hsl": {
    "h": 319.579,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4348,
    "c": 0.14665,
    "h": 343.6
  },
  "luminance": 0.07168
}

Semantic roles & 50–950 ramp

primary
#842565
secondary
#51B371
accent
#E07A48
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #842565

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

Preview Lab → · Contrast checker → · Palette generator →

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