#842466#842466

#842466 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.4% C 0.149 H 343.0°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#842466
RGBrgb(132, 36, 102)
HSLhsl(319, 57%, 33%)
HSVhsv(319, 73%, 52%)
CMYKcmyk(0%, 72.7%, 22.7%, 48.2%)
CIE-LABlab(32.10, 47.26, -16.27)
CIE-LCHlch(32.10, 49.99, 341.01°)
OKLaboklab(43.43% 0.1421 -0.0435)
OKLCHoklch(43.43% 0.149 343)
XYZxyz(12.5453, 7.1279, 13.2829)
Luminance0.0713 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842466 #248442
analogous
#722484 #842466 #842436
triadic
#842466 #668424 #246684
tetradic
#842466 #847224 #248442 #243684
square
#842466 #847224 #248442 #243684
split-complementary
#842466 #368424 #248472
monochromatic
#240A1C #541741 #842466 #B4318B #D052A9

Accessibility & contrast

On white

8.66
#842466 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #842466
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842466#FFFFFF#000000##FFFFFF
##8424661.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4168
Deuteranopia (green-blind)
#4B5164
Tritanopia (blue-blind)
#8D2442
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #842466;
/* rgb */ color: rgb(132, 36, 102);
/* oklch */ color: oklch(43.4% 0.149 343.0);
Tailwind
colors: {
  custom: {
    50: '#ab6891',
    500: '#842466',
    950: '#000000',
  },
}
SCSS
$custom: #842466;
$custom-light: #ab6891;
$custom-dark: #000000;
JSON
{
  "hex": "#842466",
  "rgb": {
    "r": 132,
    "g": 36,
    "b": 102
  },
  "hsl": {
    "h": 318.75,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43426,
    "c": 0.14861,
    "h": 343
  },
  "luminance": 0.07127
}

Semantic roles & 50–950 ramp

primary
#842466
secondary
#50B46F
accent
#E07747
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#10070D
muted
#7F7A7D

Preview Lab

Preview with #842466

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

Preview Lab → · Contrast checker → · Palette generator →

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