#804162#804162

#804162 is a mid, moderate pink. Relative luminance 0.093; OKLCH L 46.5% C 0.096 H 348.8°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#804162
RGBrgb(128, 65, 98)
HSLhsl(329, 33%, 38%)
HSVhsv(329, 49%, 50%)
CMYKcmyk(0%, 49.2%, 23.4%, 49.8%)
CIE-LABlab(36.47, 31.45, -7.14)
CIE-LCHlch(36.47, 32.25, 347.20°)
OKLaboklab(46.48% 0.0943 -0.0186)
OKLCHoklch(46.48% 0.096 348.8)
XYZxyz(12.9973, 9.2526, 12.6543)
Luminance0.0925 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804162 #41805F
analogous
#7E4180 #804162 #804143
triadic
#804162 #628041 #416280
tetradic
#804162 #807E41 #41805F #414380
square
#804162 #807E41 #41805F #414380
split-complementary
#804162 #438041 #41807E
monochromatic
#2F1824 #572C43 #804162 #A95681 #BD7E9F

Accessibility & contrast

On white

7.37
#804162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#804162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #804162
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804162#FFFFFF#000000##FFFFFF
##8041621.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474F63
Deuteranopia (green-blind)
#585A60
Tritanopia (blue-blind)
#883F4D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #804162;
/* rgb */ color: rgb(128, 65, 98);
/* oklch */ color: oklch(46.5% 0.096 348.8);
Tailwind
colors: {
  custom: {
    50: '#a7778e',
    500: '#804162',
    950: '#000000',
  },
}
SCSS
$custom: #804162;
$custom-light: #a7778e;
$custom-dark: #000000;
JSON
{
  "hex": "#804162",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 98
  },
  "hsl": {
    "h": 328.571,
    "s": 32.642,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4648,
    "c": 0.09613,
    "h": 348.8
  },
  "luminance": 0.09252
}

Semantic roles & 50–950 ramp

primary
#804162
secondary
#75A88D
accent
#C9915F
background
#FAF7F8
surface
#F4EDF0
border
#CEC8CB
text
#10090C
muted
#7F7B7D

Preview Lab

Preview with #804162

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

Preview Lab → · Contrast checker → · Palette generator →

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