#842252#842252

#842252 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.4% C 0.140 H 354.9°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#842252
RGBrgb(132, 34, 82)
HSLhsl(331, 59%, 33%)
HSVhsv(331, 74%, 52%)
CMYKcmyk(0%, 74.2%, 37.9%, 48.2%)
CIE-LABlab(31.02, 45.42, -4.92)
CIE-LCHlch(31.02, 45.69, 353.81°)
OKLaboklab(42.38% 0.1393 -0.0124)
OKLCHoklch(42.38% 0.14 354.9)
XYZxyz(11.6115, 6.6602, 8.6551)
Luminance0.0666 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842252 #228454
analogous
#842283 #842252 #842322
triadic
#842252 #528422 #225284
tetradic
#842252 #838422 #228454 #232284
square
#842252 #838422 #228454 #232284
split-complementary
#842252 #228423 #228384
monochromatic
#230916 #531534 #842252 #B52F70 #D24F8F

Accessibility & contrast

On white

9.01
#842252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#842252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842252
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842252#FFFFFF#000000##FFFFFF
##8422521.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343D53
Deuteranopia (green-blind)
#505050
Tritanopia (blue-blind)
#8F1837
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #842252;
/* rgb */ color: rgb(132, 34, 82);
/* oklch */ color: oklch(42.4% 0.140 354.9);
Tailwind
colors: {
  custom: {
    50: '#ac6682',
    500: '#842252',
    950: '#000000',
  },
}
SCSS
$custom: #842252;
$custom-light: #ac6682;
$custom-dark: #000000;
JSON
{
  "hex": "#842252",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 82
  },
  "hsl": {
    "h": 330.612,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42376,
    "c": 0.13981,
    "h": 354.9
  },
  "luminance": 0.06659
}

Semantic roles & 50–950 ramp

primary
#842252
secondary
#4DB582
accent
#E29546
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #842252

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

Preview Lab → · Contrast checker → · Palette generator →

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