#842657#842657

#842657 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.0% C 0.137 H 352.4°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#842657
RGBrgb(132, 38, 87)
HSLhsl(329, 55%, 33%)
HSVhsv(329, 71%, 52%)
CMYKcmyk(0%, 71.2%, 34.1%, 48.2%)
CIE-LABlab(31.76, 44.46, -7.08)
CIE-LCHlch(31.76, 45.02, 350.96°)
OKLaboklab(42.98% 0.1359 -0.0182)
OKLCHoklch(42.98% 0.137 352.4)
XYZxyz(11.9298, 6.9812, 9.7342)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842657 #268453
analogous
#822684 #842657 #842628
triadic
#842657 #578426 #265784
tetradic
#842657 #848226 #268453 #262884
square
#842657 #848226 #268453 #262884
split-complementary
#842657 #288426 #268482
monochromatic
#250B18 #541838 #842657 #B43476 #CE5695

Accessibility & contrast

On white

8.76
#842657 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#842657 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842657
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842657#FFFFFF#000000##FFFFFF
##8426571.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354058
Deuteranopia (green-blind)
#505155
Tritanopia (blue-blind)
#8E1F3B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #842657;
/* rgb */ color: rgb(132, 38, 87);
/* oklch */ color: oklch(43.0% 0.137 352.4);
Tailwind
colors: {
  custom: {
    50: '#ab6886',
    500: '#842657',
    950: '#000000',
  },
}
SCSS
$custom: #842657;
$custom-light: #ab6886;
$custom-dark: #000000;
JSON
{
  "hex": "#842657",
  "rgb": {
    "r": 132,
    "g": 38,
    "b": 87
  },
  "hsl": {
    "h": 328.723,
    "s": 55.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42982,
    "c": 0.1371,
    "h": 352.4
  },
  "luminance": 0.0698
}

Semantic roles & 50–950 ramp

primary
#842657
secondary
#53B381
accent
#DF9149
background
#FAF6F8
surface
#F5EBEF
border
#CFC6CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #842657

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

Preview Lab → · Contrast checker → · Palette generator →

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