#842468#842468

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

Color values

HEX#842468
RGBrgb(132, 36, 104)
HSLhsl(318, 57%, 33%)
HSVhsv(318, 73%, 52%)
CMYKcmyk(0%, 72.7%, 21.2%, 48.2%)
CIE-LABlab(32.19, 47.55, -17.41)
CIE-LCHlch(32.19, 50.64, 339.89°)
OKLaboklab(43.52% 0.1425 -0.0467)
OKLCHoklch(43.52% 0.15 341.8)
XYZxyz(12.6457, 7.1680, 13.8116)
Luminance0.0717 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842468 #248440
analogous
#702484 #842468 #842438
triadic
#842468 #688424 #246884
tetradic
#842468 #847024 #248440 #243884
square
#842468 #847024 #248440 #243884
split-complementary
#842468 #388424 #248470
monochromatic
#240A1C #541742 #842468 #B4318E #D052AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##842468#FFFFFF#000000##FFFFFF
##8424681.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)
#2C426A
Deuteranopia (green-blind)
#4A5166
Tritanopia (blue-blind)
#8C2543
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #842468;
/* rgb */ color: rgb(132, 36, 104);
/* oklch */ color: oklch(43.5% 0.150 341.8);
Tailwind
colors: {
  custom: {
    50: '#ab6893',
    500: '#842468',
    950: '#000000',
  },
}
SCSS
$custom: #842468;
$custom-light: #ab6893;
$custom-dark: #000000;
JSON
{
  "hex": "#842468",
  "rgb": {
    "r": 132,
    "g": 36,
    "b": 104
  },
  "hsl": {
    "h": 317.5,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43521,
    "c": 0.14995,
    "h": 341.8
  },
  "luminance": 0.07167
}

Semantic roles & 50–950 ramp

primary
#842468
secondary
#50B46D
accent
#E07447
background
#FAF6F9
surface
#F5EBF1
border
#CFC6CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #842468

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

Preview Lab → · Contrast checker → · Palette generator →

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