#845271#845271

#845271 is a mid, moderate pink. Relative luminance 0.121; OKLCH L 50.5% C 0.079 H 342.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#845271
RGBrgb(132, 82, 113)
HSLhsl(323, 23%, 42%)
HSVhsv(323, 38%, 52%)
CMYKcmyk(0%, 37.9%, 14.4%, 48.2%)
CIE-LABlab(41.43, 25.72, -8.99)
CIE-LCHlch(41.43, 27.25, 340.74°)
OKLaboklab(50.52% 0.0755 -0.0238)
OKLCHoklch(50.52% 0.079 342.5)
XYZxyz(15.5137, 12.1332, 17.1444)
Luminance0.1213 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#845271 #528465
analogous
#7E5284 #845271 #845258
triadic
#845271 #718452 #527184
tetradic
#845271 #847E52 #528465 #525884
square
#845271 #847E52 #528465 #525884
split-complementary
#845271 #588452 #52847E
monochromatic
#392330 #5E3B51 #845271 #A56E90 #BC94AD

Accessibility & contrast

On white

6.13
#845271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#845271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #845271
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##845271#FFFFFF#000000##FFFFFF
##8452711.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555D72
Deuteranopia (green-blind)
#616570
Tritanopia (blue-blind)
#8A525D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #845271;
/* rgb */ color: rgb(132, 82, 113);
/* oklch */ color: oklch(50.5% 0.079 342.5);
Tailwind
colors: {
  custom: {
    50: '#a98399',
    500: '#845271',
    950: '#000000',
  },
}
SCSS
$custom: #845271;
$custom-light: #a98399;
$custom-dark: #000000;
JSON
{
  "hex": "#845271",
  "rgb": {
    "r": 132,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 322.8,
    "s": 23.364,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5052,
    "c": 0.07915,
    "h": 342.5
  },
  "luminance": 0.12132
}

Semantic roles & 50–950 ramp

primary
#845271
secondary
#88AA95
accent
#C08968
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#100B0E
muted
#7F7C7E

Preview Lab

Preview with #845271

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

Preview Lab → · Contrast checker → · Palette generator →

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