#842045#842045

#842045 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.7% C 0.137 H 3.0°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#842045
RGBrgb(132, 32, 69)
HSLhsl(338, 61%, 32%)
HSVhsv(338, 76%, 52%)
CMYKcmyk(0%, 75.8%, 47.7%, 48.2%)
CIE-LABlab(30.33, 44.77, 2.63)
CIE-LCHlch(30.33, 44.84, 3.36°)
OKLaboklab(41.73% 0.1371 0.0072)
OKLCHoklch(41.73% 0.137 3)
XYZxyz(11.1073, 6.3697, 6.2736)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842045 #20845F
analogous
#842077 #842045 #842D20
triadic
#842045 #458420 #204584
tetradic
#842045 #778420 #20845F #2D2084
square
#842045 #778420 #20845F #2D2084
split-complementary
#842045 #20842D #207784
monochromatic
#210812 #53142B #842045 #B52C5F #D34B7D

Accessibility & contrast

On white

9.24
#842045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#842045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842045
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842045#FFFFFF#000000##FFFFFF
##8420451.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373B46
Deuteranopia (green-blind)
#524E43
Tritanopia (blue-blind)
#900D30
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #842045;
/* rgb */ color: rgb(132, 32, 69);
/* oklch */ color: oklch(41.7% 0.137 3.0);
Tailwind
colors: {
  custom: {
    50: '#ad6578',
    500: '#842045',
    950: '#000000',
  },
}
SCSS
$custom: #842045;
$custom-light: #ad6578;
$custom-dark: #000000;
JSON
{
  "hex": "#842045",
  "rgb": {
    "r": 132,
    "g": 32,
    "b": 69
  },
  "hsl": {
    "h": 337.8,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41725,
    "c": 0.1373,
    "h": 3
  },
  "luminance": 0.06368
}

Semantic roles & 50–950 ramp

primary
#842045
secondary
#4AB68E
accent
#E4A944
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #842045

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

Preview Lab → · Contrast checker → · Palette generator →

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