#804175#804175

#804175 is a mid, moderate pink. Relative luminance 0.097; OKLCH L 47.3% C 0.111 H 334.1°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#804175
RGBrgb(128, 65, 117)
HSLhsl(310, 33%, 38%)
HSVhsv(310, 49%, 50%)
CMYKcmyk(0%, 49.2%, 8.6%, 49.8%)
CIE-LABlab(37.22, 34.70, -17.92)
CIE-LCHlch(37.22, 39.05, 332.69°)
OKLaboklab(47.29% 0.0998 -0.0485)
OKLCHoklch(47.29% 0.111 334.1)
XYZxyz(14.0032, 9.6550, 17.9522)
Luminance0.0965 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804175 #41804C
analogous
#6B4180 #804175 #804156
triadic
#804175 #758041 #417580
tetradic
#804175 #806B41 #41804C #415680
square
#804175 #806B41 #41804C #415680
split-complementary
#804175 #568041 #41806B
monochromatic
#2F182B #572C50 #804175 #A9569A #BD7EB2

Accessibility & contrast

On white

7.17
#804175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#804175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #804175
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804175#FFFFFF#000000##FFFFFF
##8041751.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415277
Deuteranopia (green-blind)
#525B73
Tritanopia (blue-blind)
#854455
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #804175;
/* rgb */ color: rgb(128, 65, 117);
/* oklch */ color: oklch(47.3% 0.111 334.1);
Tailwind
colors: {
  custom: {
    50: '#a6789d',
    500: '#804175',
    950: '#000000',
  },
}
SCSS
$custom: #804175;
$custom-light: #a6789d;
$custom-dark: #000000;
JSON
{
  "hex": "#804175",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 117
  },
  "hsl": {
    "h": 310.476,
    "s": 32.642,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47288,
    "c": 0.11098,
    "h": 334.1
  },
  "luminance": 0.09654
}

Semantic roles & 50–950 ramp

primary
#804175
secondary
#75A87E
accent
#C9715F
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#10090E
muted
#7F7B7E

Preview Lab

Preview with #804175

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

Preview Lab → · Contrast checker → · Palette generator →

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