#842855#842855

#842855 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.1% C 0.133 H 354.0°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#842855
RGBrgb(132, 40, 85)
HSLhsl(331, 53%, 34%)
HSVhsv(331, 70%, 52%)
CMYKcmyk(0%, 69.7%, 35.6%, 48.2%)
CIE-LABlab(31.99, 43.39, -5.44)
CIE-LCHlch(31.99, 43.73, 352.86°)
OKLaboklab(43.12% 0.1327 -0.0138)
OKLCHoklch(43.12% 0.133 354)
XYZxyz(11.9149, 7.0803, 9.3317)
Luminance0.0708 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842855 #288457
analogous
#842883 #842855 #842928
triadic
#842855 #558428 #285584
tetradic
#842855 #838428 #288457 #292884
square
#842855 #838428 #288457 #292884
split-complementary
#842855 #288429 #288384
monochromatic
#260C19 #551A37 #842855 #B33673 #CD5A92

Accessibility & contrast

On white

8.69
#842855 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#842855 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842855
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842855#FFFFFF#000000##FFFFFF
##8428551.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374156
Deuteranopia (green-blind)
#515153
Tritanopia (blue-blind)
#8E213B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #842855;
/* rgb */ color: rgb(132, 40, 85);
/* oklch */ color: oklch(43.1% 0.133 354.0);
Tailwind
colors: {
  custom: {
    50: '#ab6984',
    500: '#842855',
    950: '#000000',
  },
}
SCSS
$custom: #842855;
$custom-light: #ab6984;
$custom-dark: #000000;
JSON
{
  "hex": "#842855",
  "rgb": {
    "r": 132,
    "g": 40,
    "b": 85
  },
  "hsl": {
    "h": 330.652,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43124,
    "c": 0.13339,
    "h": 354
  },
  "luminance": 0.07079
}

Semantic roles & 50–950 ramp

primary
#842855
secondary
#56B285
accent
#DD954B
background
#FAF6F8
surface
#F5EBEF
border
#CFC6CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #842855

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

Preview Lab → · Contrast checker → · Palette generator →

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