#842256#842256

#842256 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.142 H 352.4°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#842256
RGBrgb(132, 34, 86)
HSLhsl(328, 59%, 33%)
HSVhsv(328, 74%, 52%)
CMYKcmyk(0%, 74.2%, 34.8%, 48.2%)
CIE-LABlab(31.17, 45.90, -7.32)
CIE-LCHlch(31.17, 46.48, 350.94°)
OKLaboklab(42.53% 0.1405 -0.0188)
OKLCHoklch(42.53% 0.142 352.4)
XYZxyz(11.7681, 6.7228, 9.4802)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842256 #228450
analogous
#812284 #842256 #842225
triadic
#842256 #568422 #225684
tetradic
#842256 #848122 #228450 #222584
square
#842256 #848122 #228450 #222584
split-complementary
#842256 #258422 #228481
monochromatic
#230917 #531536 #842256 #B52F76 #D24F94

Accessibility & contrast

On white

8.96
#842256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#842256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842256
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842256#FFFFFF#000000##FFFFFF
##8422561.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333E57
Deuteranopia (green-blind)
#4F5054
Tritanopia (blue-blind)
#8E1A39
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #842256;
/* rgb */ color: rgb(132, 34, 86);
/* oklch */ color: oklch(42.5% 0.142 352.4);
Tailwind
colors: {
  custom: {
    50: '#ac6685',
    500: '#842256',
    950: '#000000',
  },
}
SCSS
$custom: #842256;
$custom-light: #ac6685;
$custom-dark: #000000;
JSON
{
  "hex": "#842256",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 328.163,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42532,
    "c": 0.14175,
    "h": 352.4
  },
  "luminance": 0.06721
}

Semantic roles & 50–950 ramp

primary
#842256
secondary
#4DB57E
accent
#E28F46
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #842256

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

Preview Lab → · Contrast checker → · Palette generator →

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