#842152#842152

#842152 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.141 H 354.7°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#842152
RGBrgb(132, 33, 82)
HSLhsl(330, 60%, 32%)
HSVhsv(330, 75%, 52%)
CMYKcmyk(0%, 75%, 37.9%, 48.2%)
CIE-LABlab(30.89, 45.79, -5.12)
CIE-LCHlch(30.89, 46.08, 353.62°)
OKLaboklab(42.28% 0.1404 -0.0129)
OKLCHoklch(42.28% 0.141 354.7)
XYZxyz(11.5833, 6.6038, 8.6457)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842152 #218453
analogous
#842184 #842152 #842221
triadic
#842152 #528421 #215284
tetradic
#842152 #848421 #218453 #222184
square
#842152 #848421 #218453 #222184
split-complementary
#842152 #218422 #218484
monochromatic
#220915 #531534 #842152 #B52D70 #D24D8F

Accessibility & contrast

On white

9.05
#842152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#842152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842152
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842152#FFFFFF#000000##FFFFFF
##8421521.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343D53
Deuteranopia (green-blind)
#4F4F50
Tritanopia (blue-blind)
#8F1736
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #842152;
/* rgb */ color: rgb(132, 33, 82);
/* oklch */ color: oklch(42.3% 0.141 354.7);
Tailwind
colors: {
  custom: {
    50: '#ac6682',
    500: '#842152',
    950: '#000000',
  },
}
SCSS
$custom: #842152;
$custom-light: #ac6682;
$custom-dark: #000000;
JSON
{
  "hex": "#842152",
  "rgb": {
    "r": 132,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 330.303,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42278,
    "c": 0.14103,
    "h": 354.7
  },
  "luminance": 0.06602
}

Semantic roles & 50–950 ramp

primary
#842152
secondary
#4BB681
accent
#E39545
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #842152

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

Preview Lab → · Contrast checker → · Palette generator →

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