#845872#845872

#845872 is a mid, moderate pink. Relative luminance 0.131; OKLCH L 51.7% C 0.068 H 343.5°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#845872
RGBrgb(132, 88, 114)
HSLhsl(325, 20%, 43%)
HSVhsv(325, 33%, 52%)
CMYKcmyk(0%, 33.3%, 13.6%, 48.2%)
CIE-LABlab(42.91, 22.38, -7.37)
CIE-LCHlch(42.91, 23.56, 341.77°)
OKLaboklab(51.66% 0.0656 -0.0194)
OKLCHoklch(51.66% 0.068 343.5)
XYZxyz(16.0427, 13.1007, 17.6000)
Luminance0.1310 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845872 #58846A
analogous
#805884 #845872 #84585C
triadic
#845872 #728458 #587284
tetradic
#845872 #848058 #58846A #585C84
square
#845872 #848058 #58846A #585C84
split-complementary
#845872 #5C8458 #588480
monochromatic
#3B2733 #5F4052 #845872 #A37691 #BC9AAE

Accessibility & contrast

On white

5.80
#845872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#845872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845872
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845872#FFFFFF#000000##FFFFFF
##8458721.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6173
Deuteranopia (green-blind)
#656871
Tritanopia (blue-blind)
#895861
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #845872;
/* rgb */ color: rgb(132, 88, 114);
/* oklch */ color: oklch(51.7% 0.068 343.5);
Tailwind
colors: {
  custom: {
    50: '#a8879a',
    500: '#845872',
    950: '#000000',
  },
}
SCSS
$custom: #845872;
$custom-light: #a8879a;
$custom-dark: #000000;
JSON
{
  "hex": "#845872",
  "rgb": {
    "r": 132,
    "g": 88,
    "b": 114
  },
  "hsl": {
    "h": 324.545,
    "s": 20,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51664,
    "c": 0.06844,
    "h": 343.5
  },
  "luminance": 0.131
}

Semantic roles & 50–950 ramp

primary
#845872
secondary
#8EAA99
accent
#BD8C6B
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#100B0E
muted
#7F7C7E

Preview Lab

Preview with #845872

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

Preview Lab → · Contrast checker → · Palette generator →

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