#804170#804170

#804170 is a mid, moderate pink. Relative luminance 0.095; OKLCH L 47.1% C 0.107 H 337.6°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#804170
RGBrgb(128, 65, 112)
HSLhsl(315, 33%, 38%)
HSVhsv(315, 49%, 50%)
CMYKcmyk(0%, 49.2%, 12.5%, 49.8%)
CIE-LABlab(37.01, 33.80, -15.12)
CIE-LCHlch(37.01, 37.03, 335.90°)
OKLaboklab(47.06% 0.0985 -0.0406)
OKLCHoklch(47.06% 0.107 337.6)
XYZxyz(13.7171, 9.5406, 16.4451)
Luminance0.0954 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804170 #418051
analogous
#704180 #804170 #804151
triadic
#804170 #708041 #417080
tetradic
#804170 #807041 #418051 #415180
square
#804170 #807041 #418051 #415180
split-complementary
#804170 #518041 #418070
monochromatic
#2F1829 #572C4C #804170 #A95694 #BD7EAD

Accessibility & contrast

On white

7.22
#804170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#804170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #804170
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804170#FFFFFF#000000##FFFFFF
##8041701.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435172
Deuteranopia (green-blind)
#545B6E
Tritanopia (blue-blind)
#864353
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #804170;
/* rgb */ color: rgb(128, 65, 112);
/* oklch */ color: oklch(47.1% 0.107 337.6);
Tailwind
colors: {
  custom: {
    50: '#a67899',
    500: '#804170',
    950: '#000000',
  },
}
SCSS
$custom: #804170;
$custom-light: #a67899;
$custom-dark: #000000;
JSON
{
  "hex": "#804170",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 112
  },
  "hsl": {
    "h": 315.238,
    "s": 32.642,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47061,
    "c": 0.1066,
    "h": 337.6
  },
  "luminance": 0.0954
}

Semantic roles & 50–950 ramp

primary
#804170
secondary
#75A882
accent
#C97A5F
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#10090E
muted
#7F7B7E

Preview Lab

Preview with #804170

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

Preview Lab → · Contrast checker → · Palette generator →

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