#845166#845166

#845166 is a mid, moderate pink. Relative luminance 0.117; OKLCH L 49.9% C 0.074 H 353.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#845166
RGBrgb(132, 81, 102)
HSLhsl(335, 24%, 42%)
HSVhsv(335, 39%, 52%)
CMYKcmyk(0%, 38.6%, 22.7%, 48.2%)
CIE-LABlab(40.82, 24.44, -3.11)
CIE-LCHlch(40.82, 24.63, 352.74°)
OKLaboklab(49.93% 0.0733 -0.0079)
OKLCHoklch(49.93% 0.074 353.8)
XYZxyz(14.8567, 11.7507, 14.0534)
Luminance0.1175 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845166 #51846F
analogous
#845180 #845166 #845651
triadic
#845166 #668451 #516684
tetradic
#845166 #808451 #51846F #565184
square
#845166 #808451 #51846F #565184
split-complementary
#845166 #518456 #518084
monochromatic
#38222B #5E3A49 #845166 #A56D84 #BD93A4

Accessibility & contrast

On white

6.27
#845166 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#845166 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845166
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845166#FFFFFF#000000##FFFFFF
##8451661.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575B67
Deuteranopia (green-blind)
#636465
Tritanopia (blue-blind)
#8B4F58
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #845166;
/* rgb */ color: rgb(132, 81, 102);
/* oklch */ color: oklch(49.9% 0.074 353.8);
Tailwind
colors: {
  custom: {
    50: '#a98391',
    500: '#845166',
    950: '#000000',
  },
}
SCSS
$custom: #845166;
$custom-light: #a98391;
$custom-dark: #000000;
JSON
{
  "hex": "#845166",
  "rgb": {
    "r": 132,
    "g": 81,
    "b": 102
  },
  "hsl": {
    "h": 335.294,
    "s": 23.944,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49934,
    "c": 0.07368,
    "h": 353.8
  },
  "luminance": 0.1175
}

Semantic roles & 50–950 ramp

primary
#845166
secondary
#87AA9B
accent
#C09C67
background
#FAF8F8
surface
#F4EFF0
border
#CECACB
text
#100A0C
muted
#7F7C7D

Preview Lab

Preview with #845166

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

Preview Lab → · Contrast checker → · Palette generator →

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