#804157#804157

#804157 is a mid, moderate pink. Relative luminance 0.091; OKLCH L 46.1% C 0.090 H 359.0°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#804157
RGBrgb(128, 65, 87)
HSLhsl(339, 33%, 38%)
HSVhsv(339, 49%, 50%)
CMYKcmyk(0%, 49.2%, 32%, 49.8%)
CIE-LABlab(36.10, 29.80, -0.72)
CIE-LCHlch(36.10, 29.81, 358.61°)
OKLaboklab(46.08% 0.0903 -0.0015)
OKLCHoklch(46.08% 0.09 359)
XYZxyz(12.5132, 9.0590, 10.1045)
Luminance0.0906 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804157 #41806A
analogous
#804176 #804157 #804B41
triadic
#804157 #578041 #415780
tetradic
#804157 #768041 #41806A #4B4180
square
#804157 #768041 #41806A #4B4180
split-complementary
#804157 #41804B #417680
monochromatic
#2F1820 #572C3B #804157 #A95673 #BD7E94

Accessibility & contrast

On white

7.47
#804157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#804157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #804157
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804157#FFFFFF#000000##FFFFFF
##8041571.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4E58
Deuteranopia (green-blind)
#5A5956
Tritanopia (blue-blind)
#893D49
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #804157;
/* rgb */ color: rgb(128, 65, 87);
/* oklch */ color: oklch(46.1% 0.090 359.0);
Tailwind
colors: {
  custom: {
    50: '#a77786',
    500: '#804157',
    950: '#000000',
  },
}
SCSS
$custom: #804157;
$custom-light: #a77786;
$custom-dark: #000000;
JSON
{
  "hex": "#804157",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 87
  },
  "hsl": {
    "h": 339.048,
    "s": 32.642,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46081,
    "c": 0.09035,
    "h": 359
  },
  "luminance": 0.09058
}

Semantic roles & 50–950 ramp

primary
#804157
secondary
#75A896
accent
#C9A45F
background
#FAF7F8
surface
#F4EDEF
border
#CEC8CA
text
#10090B
muted
#7F7B7C

Preview Lab

Preview with #804157

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

Preview Lab → · Contrast checker → · Palette generator →

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