#842262#842262

#842262 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.149 H 345.1°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#842262
RGBrgb(132, 34, 98)
HSLhsl(321, 59%, 33%)
HSVhsv(321, 74%, 52%)
CMYKcmyk(0%, 74.2%, 25.8%, 48.2%)
CIE-LABlab(31.65, 47.46, -14.37)
CIE-LCHlch(31.65, 49.58, 343.15°)
OKLaboklab(43.05% 0.1436 -0.0382)
OKLCHoklch(43.05% 0.149 345.1)
XYZxyz(12.2929, 6.9327, 12.2437)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842262 #228444
analogous
#752284 #842262 #842231
triadic
#842262 #628422 #226284
tetradic
#842262 #847522 #228444 #223184
square
#842262 #847522 #228444 #223184
split-complementary
#842262 #318422 #228475
monochromatic
#23091A #53153E #842262 #B52F86 #D24FA4

Accessibility & contrast

On white

8.80
#842262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#842262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842262
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842262#FFFFFF#000000##FFFFFF
##8422621.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4064
Deuteranopia (green-blind)
#4B5060
Tritanopia (blue-blind)
#8D213F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #842262;
/* rgb */ color: rgb(132, 34, 98);
/* oklch */ color: oklch(43.0% 0.149 345.1);
Tailwind
colors: {
  custom: {
    50: '#ab678e',
    500: '#842262',
    950: '#000000',
  },
}
SCSS
$custom: #842262;
$custom-light: #ab678e;
$custom-dark: #000000;
JSON
{
  "hex": "#842262",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 98
  },
  "hsl": {
    "h": 320.816,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43046,
    "c": 0.14856,
    "h": 345.1
  },
  "luminance": 0.06931
}

Semantic roles & 50–950 ramp

primary
#842262
secondary
#4DB571
accent
#E27C46
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #842262

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

Preview Lab → · Contrast checker → · Palette generator →

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