#842151#842151

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

Color values

HEX#842151
RGBrgb(132, 33, 81)
HSLhsl(331, 60%, 32%)
HSVhsv(331, 75%, 52%)
CMYKcmyk(0%, 75%, 38.6%, 48.2%)
CIE-LABlab(30.85, 45.68, -4.52)
CIE-LCHlch(30.85, 45.90, 354.35°)
OKLaboklab(42.24% 0.1401 -0.0113)
OKLCHoklch(42.24% 0.141 355.4)
XYZxyz(11.5455, 6.5887, 8.4467)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842151 #218454
analogous
#842183 #842151 #842221
triadic
#842151 #518421 #215184
tetradic
#842151 #838421 #218454 #222184
square
#842151 #838421 #218454 #222184
split-complementary
#842151 #218422 #218384
monochromatic
#220915 #531533 #842151 #B52D6F #D24D8E

Accessibility & contrast

On white

9.06
#842151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #842151
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842151#FFFFFF#000000##FFFFFF
##8421511.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343D52
Deuteranopia (green-blind)
#4F4F4F
Tritanopia (blue-blind)
#8F1636
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #842151;
/* rgb */ color: rgb(132, 33, 81);
/* oklch */ color: oklch(42.2% 0.141 355.4);
Tailwind
colors: {
  custom: {
    50: '#ac6681',
    500: '#842151',
    950: '#000000',
  },
}
SCSS
$custom: #842151;
$custom-light: #ac6681;
$custom-dark: #000000;
JSON
{
  "hex": "#842151",
  "rgb": {
    "r": 132,
    "g": 33,
    "b": 81
  },
  "hsl": {
    "h": 330.909,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4224,
    "c": 0.14059,
    "h": 355.4
  },
  "luminance": 0.06587
}

Semantic roles & 50–950 ramp

primary
#842151
secondary
#4BB682
accent
#E39645
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #842151

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

Preview Lab → · Contrast checker → · Palette generator →

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