#804160#804160

#804160 is a mid, moderate pink. Relative luminance 0.092; OKLCH L 46.4% C 0.095 H 350.6°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#804160
RGBrgb(128, 65, 96)
HSLhsl(330, 33%, 38%)
HSVhsv(330, 49%, 50%)
CMYKcmyk(0%, 49.2%, 25%, 49.8%)
CIE-LABlab(36.40, 31.14, -5.98)
CIE-LCHlch(36.40, 31.71, 349.12°)
OKLaboklab(46.4% 0.0936 -0.0155)
OKLCHoklch(46.4% 0.095 350.6)
XYZxyz(12.9041, 9.2153, 12.1632)
Luminance0.0921 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804160 #418061
analogous
#80417F #804160 #804241
triadic
#804160 #608041 #416080
tetradic
#804160 #7F8041 #418061 #424180
square
#804160 #7F8041 #418061 #424180
split-complementary
#804160 #418042 #417F80
monochromatic
#2F1823 #572C42 #804160 #A9567E #BD7E9D

Accessibility & contrast

On white

7.39
#804160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#804160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #804160
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804160#FFFFFF#000000##FFFFFF
##8041601.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484F61
Deuteranopia (green-blind)
#585A5E
Tritanopia (blue-blind)
#883F4C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #804160;
/* rgb */ color: rgb(128, 65, 96);
/* oklch */ color: oklch(46.4% 0.095 350.6);
Tailwind
colors: {
  custom: {
    50: '#a7778d',
    500: '#804160',
    950: '#000000',
  },
}
SCSS
$custom: #804160;
$custom-light: #a7778d;
$custom-dark: #000000;
JSON
{
  "hex": "#804160",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 96
  },
  "hsl": {
    "h": 330.476,
    "s": 32.642,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46404,
    "c": 0.09489,
    "h": 350.6
  },
  "luminance": 0.09214
}

Semantic roles & 50–950 ramp

primary
#804160
secondary
#75A88F
accent
#C9955F
background
#FAF7F8
surface
#F4EDF0
border
#CEC8CB
text
#10090C
muted
#7F7B7D

Preview Lab

Preview with #804160

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

Preview Lab → · Contrast checker → · Palette generator →

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