#842145#842145

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

Color values

HEX#842145
RGBrgb(132, 33, 69)
HSLhsl(338, 60%, 32%)
HSVhsv(338, 75%, 52%)
CMYKcmyk(0%, 75%, 47.7%, 48.2%)
CIE-LABlab(30.46, 44.40, 2.82)
CIE-LCHlch(30.46, 44.49, 3.63°)
OKLaboklab(41.82% 0.1359 0.0077)
OKLCHoklch(41.82% 0.136 3.2)
XYZxyz(11.1346, 6.4244, 6.2828)
Luminance0.0642 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842145 #218460
analogous
#842176 #842145 #842F21
triadic
#842145 #458421 #214584
tetradic
#842145 #768421 #218460 #2F2184
square
#842145 #768421 #218460 #2F2184
split-complementary
#842145 #21842F #217684
monochromatic
#220912 #53152B #842145 #B52D5F #D24D7D

Accessibility & contrast

On white

9.19
#842145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #842145
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842145#FFFFFF#000000##FFFFFF
##8421451.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383B46
Deuteranopia (green-blind)
#524F43
Tritanopia (blue-blind)
#900F30
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #842145;
/* rgb */ color: rgb(132, 33, 69);
/* oklch */ color: oklch(41.8% 0.136 3.2);
Tailwind
colors: {
  custom: {
    50: '#ad6578',
    500: '#842145',
    950: '#000000',
  },
}
SCSS
$custom: #842145;
$custom-light: #ad6578;
$custom-dark: #000000;
JSON
{
  "hex": "#842145",
  "rgb": {
    "r": 132,
    "g": 33,
    "b": 69
  },
  "hsl": {
    "h": 338.182,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41822,
    "c": 0.13614,
    "h": 3.2
  },
  "luminance": 0.06423
}

Semantic roles & 50–950 ramp

primary
#842145
secondary
#4BB68F
accent
#E3AA45
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #842145

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

Preview Lab → · Contrast checker → · Palette generator →

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