#842E75#842E75

#842E75 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.2% C 0.146 H 335.2°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#842E75
RGBrgb(132, 46, 117)
HSLhsl(310, 48%, 35%)
HSVhsv(310, 65%, 52%)
CMYKcmyk(0%, 65.2%, 11.4%, 48.2%)
CIE-LABlab(34.28, 45.44, -22.41)
CIE-LCHlch(34.28, 50.67, 333.75°)
OKLaboklab(45.25% 0.1323 -0.061)
OKLCHoklch(45.25% 0.146 335.2)
XYZxyz(13.7037, 8.1450, 17.6766)
Luminance0.0814 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842E75 #2E843D
analogous
#682E84 #842E75 #842E4A
triadic
#842E75 #75842E #2E7584
tetradic
#842E75 #84682E #2E843D #2E4A84
square
#842E75 #84682E #2E843D #2E4A84
split-complementary
#842E75 #4A842E #2E8468
monochromatic
#290E25 #571E4D #842E75 #B13E9D #C964B7

Accessibility & contrast

On white

7.99
#842E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#842E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842E75
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842E75#FFFFFF#000000##FFFFFF
##842E751.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4877
Deuteranopia (green-blind)
#4A5573
Tritanopia (blue-blind)
#8A334D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #842e75;
/* rgb */ color: rgb(132, 46, 117);
/* oklch */ color: oklch(45.2% 0.146 335.2);
Tailwind
colors: {
  custom: {
    50: '#aa6d9d',
    500: '#842e75',
    950: '#000000',
  },
}
SCSS
$custom: #842e75;
$custom-light: #aa6d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#842e75",
  "rgb": {
    "r": 132,
    "g": 46,
    "b": 117
  },
  "hsl": {
    "h": 310.465,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45249,
    "c": 0.14567,
    "h": 335.2
  },
  "luminance": 0.08144
}

Semantic roles & 50–950 ramp

primary
#842E75
secondary
#5EB06C
accent
#D86850
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #842E75

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

Preview Lab → · Contrast checker → · Palette generator →

#842E75 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva