#805271#805271

#805271 is a mid, moderate pink. Relative luminance 0.118; OKLCH L 50.0% C 0.075 H 339.7°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#805271
RGBrgb(128, 82, 113)
HSLhsl(320, 22%, 41%)
HSVhsv(320, 36%, 50%)
CMYKcmyk(0%, 35.9%, 11.7%, 49.8%)
CIE-LABlab(40.92, 24.24, -9.79)
CIE-LCHlch(40.92, 26.14, 338.00°)
OKLaboklab(50.03% 0.0705 -0.026)
OKLCHoklch(50.03% 0.075 339.7)
XYZxyz(14.9000, 11.8168, 17.1156)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#805271 #528061
analogous
#785280 #805271 #80525A
triadic
#805271 #718052 #527180
tetradic
#805271 #807852 #528061 #525A80
square
#805271 #807852 #528061 #525A80
split-complementary
#805271 #5A8052 #528078
monochromatic
#35222F #5B3A50 #805271 #A26D91 #BA93AD

Accessibility & contrast

On white

6.24
#805271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#805271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #805271
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##805271#FFFFFF#000000##FFFFFF
##8052711.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545C72
Deuteranopia (green-blind)
#5F6370
Tritanopia (blue-blind)
#85535D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #805271;
/* rgb */ color: rgb(128, 82, 113);
/* oklch */ color: oklch(50.0% 0.075 339.7);
Tailwind
colors: {
  custom: {
    50: '#a68399',
    500: '#805271',
    950: '#000000',
  },
}
SCSS
$custom: #805271;
$custom-light: #a68399;
$custom-dark: #000000;
JSON
{
  "hex": "#805271",
  "rgb": {
    "r": 128,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 319.565,
    "s": 21.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50027,
    "c": 0.07519,
    "h": 339.7
  },
  "luminance": 0.11816
}

Semantic roles & 50–950 ramp

primary
#805271
secondary
#87A791
accent
#BE8569
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#0F0A0E
muted
#7F7C7E

Preview Lab

Preview with #805271

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

Preview Lab → · Contrast checker → · Palette generator →

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