#845871#845871

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

Color values

HEX#845871
RGBrgb(132, 88, 113)
HSLhsl(326, 20%, 43%)
HSVhsv(326, 33%, 52%)
CMYKcmyk(0%, 33.3%, 14.4%, 48.2%)
CIE-LABlab(42.88, 22.20, -6.81)
CIE-LCHlch(42.88, 23.22, 342.95°)
OKLaboklab(51.63% 0.0653 -0.0179)
OKLCHoklch(51.63% 0.068 344.7)
XYZxyz(15.9861, 13.0780, 17.3019)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845871 #58846B
analogous
#815884 #845871 #84585B
triadic
#845871 #718458 #587184
tetradic
#845871 #848158 #58846B #585B84
square
#845871 #848158 #58846B #585B84
split-complementary
#845871 #5B8458 #588481
monochromatic
#3B2732 #5F4052 #845871 #A37690 #BC9AAD

Accessibility & contrast

On white

5.81
#845871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #845871
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845871#FFFFFF#000000##FFFFFF
##8458711.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6172
Deuteranopia (green-blind)
#656870
Tritanopia (blue-blind)
#8A5861
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #845871;
/* rgb */ color: rgb(132, 88, 113);
/* oklch */ color: oklch(51.6% 0.068 344.7);
Tailwind
colors: {
  custom: {
    50: '#a88799',
    500: '#845871',
    950: '#000000',
  },
}
SCSS
$custom: #845871;
$custom-light: #a88799;
$custom-dark: #000000;
JSON
{
  "hex": "#845871",
  "rgb": {
    "r": 132,
    "g": 88,
    "b": 113
  },
  "hsl": {
    "h": 325.909,
    "s": 20,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51626,
    "c": 0.06767,
    "h": 344.7
  },
  "luminance": 0.13077
}

Semantic roles & 50–950 ramp

primary
#845871
secondary
#8EAA9A
accent
#BD8E6B
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#100B0E
muted
#7F7C7E

Preview Lab

Preview with #845871

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

Preview Lab → · Contrast checker → · Palette generator →

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