#842048#842048

#842048 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.138 H 1.0°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#842048
RGBrgb(132, 32, 72)
HSLhsl(336, 61%, 32%)
HSVhsv(336, 76%, 52%)
CMYKcmyk(0%, 75.8%, 45.5%, 48.2%)
CIE-LABlab(30.42, 45.07, 0.77)
CIE-LCHlch(30.42, 45.07, 0.98°)
OKLaboklab(41.82% 0.1382 0.0025)
OKLCHoklch(41.82% 0.138 1)
XYZxyz(11.2028, 6.4079, 6.7766)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842048 #20845C
analogous
#84207A #842048 #842A20
triadic
#842048 #488420 #204884
tetradic
#842048 #7A8420 #20845C #2A2084
square
#842048 #7A8420 #20845C #2A2084
split-complementary
#842048 #20842A #207A84
monochromatic
#210812 #53142D #842048 #B52C63 #D34B82

Accessibility & contrast

On white

9.21
#842048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#842048 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842048
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842048#FFFFFF#000000##FFFFFF
##8420481.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363B49
Deuteranopia (green-blind)
#514F46
Tritanopia (blue-blind)
#900F31
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #842048;
/* rgb */ color: rgb(132, 32, 72);
/* oklch */ color: oklch(41.8% 0.138 1.0);
Tailwind
colors: {
  custom: {
    50: '#ac657a',
    500: '#842048',
    950: '#000000',
  },
}
SCSS
$custom: #842048;
$custom-light: #ac657a;
$custom-dark: #000000;
JSON
{
  "hex": "#842048",
  "rgb": {
    "r": 132,
    "g": 32,
    "b": 72
  },
  "hsl": {
    "h": 336,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41823,
    "c": 0.13824,
    "h": 1
  },
  "luminance": 0.06406
}

Semantic roles & 50–950 ramp

primary
#842048
secondary
#4AB68B
accent
#E4A444
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #842048

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

Preview Lab → · Contrast checker → · Palette generator →

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