#841852#841852

#841852 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.151 H 353.5°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#841852
RGBrgb(132, 24, 82)
HSLhsl(328, 69%, 31%)
HSVhsv(328, 82%, 52%)
CMYKcmyk(0%, 81.8%, 37.9%, 48.2%)
CIE-LABlab(29.84, 48.77, -6.69)
CIE-LCHlch(29.84, 49.22, 352.18°)
OKLaboklab(41.51% 0.1499 -0.0171)
OKLCHoklch(41.51% 0.151 353.5)
XYZxyz(11.3661, 6.1694, 8.5733)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841852 #18844A
analogous
#801884 #841852 #84181C
triadic
#841852 #528418 #185284
tetradic
#841852 #848018 #18844A #181C84
square
#841852 #848018 #18844A #181C84
split-complementary
#841852 #1C8418 #188480
monochromatic
#1C0512 #500F32 #841852 #B82172 #DB3B91

Accessibility & contrast

On white

9.40
#841852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#841852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841852
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841852#FFFFFF#000000##FFFFFF
##8418521.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3A53
Deuteranopia (green-blind)
#4D4D50
Tritanopia (blue-blind)
#8F0933
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #841852;
/* rgb */ color: rgb(132, 24, 82);
/* oklch */ color: oklch(41.5% 0.151 353.5);
Tailwind
colors: {
  custom: {
    50: '#ac6282',
    500: '#841852',
    950: '#000000',
  },
}
SCSS
$custom: #841852;
$custom-light: #ac6282;
$custom-dark: #000000;
JSON
{
  "hex": "#841852",
  "rgb": {
    "r": 132,
    "g": 24,
    "b": 82
  },
  "hsl": {
    "h": 327.778,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41509,
    "c": 0.15085,
    "h": 353.5
  },
  "luminance": 0.06168
}

Semantic roles & 50–950 ramp

primary
#841852
secondary
#40B877
accent
#EC8D3C
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #841852

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

Preview Lab → · Contrast checker → · Palette generator →

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