#845979#845979

#845979 is a mid, moderate pink. Relative luminance 0.134; OKLCH L 52.1% C 0.072 H 336.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#845979
RGBrgb(132, 89, 121)
HSLhsl(315, 19%, 43%)
HSVhsv(315, 33%, 52%)
CMYKcmyk(0%, 32.6%, 8.3%, 48.2%)
CIE-LABlab(43.41, 23.08, -10.90)
CIE-LCHlch(43.41, 25.53, 334.73°)
OKLaboklab(52.12% 0.0664 -0.0291)
OKLCHoklch(52.12% 0.072 336.3)
XYZxyz(16.5392, 13.4315, 19.8068)
Luminance0.1343 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845979 #598464
analogous
#795984 #845979 #845963
triadic
#845979 #798459 #597984
tetradic
#845979 #847959 #598464 #596384
square
#845979 #847959 #598464 #596384
split-complementary
#845979 #638459 #598479
monochromatic
#3B2836 #5F4057 #845979 #A37798 #BC9BB4

Accessibility & contrast

On white

5.70
#845979 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#845979 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845979
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845979#FFFFFF#000000##FFFFFF
##8459791.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A637A
Deuteranopia (green-blind)
#646978
Tritanopia (blue-blind)
#885A64
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #845979;
/* rgb */ color: rgb(132, 89, 121);
/* oklch */ color: oklch(52.1% 0.072 336.3);
Tailwind
colors: {
  custom: {
    50: '#a8889f',
    500: '#845979',
    950: '#000000',
  },
}
SCSS
$custom: #845979;
$custom-light: #a8889f;
$custom-dark: #000000;
JSON
{
  "hex": "#845979",
  "rgb": {
    "r": 132,
    "g": 89,
    "b": 121
  },
  "hsl": {
    "h": 315.349,
    "s": 19.457,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5212,
    "c": 0.07246,
    "h": 336.3
  },
  "luminance": 0.13431
}

Semantic roles & 50–950 ramp

primary
#845979
secondary
#8FAA96
accent
#BC806C
background
#FAF8F9
surface
#F4F0F2
border
#CECBCC
text
#100B0E
muted
#7F7C7E

Preview Lab

Preview with #845979

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

Preview Lab → · Contrast checker → · Palette generator →

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