#804151#804151

#804151 is a mid, moderate pink. Relative luminance 0.090; OKLCH L 45.9% C 0.088 H 5.0°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#804151
RGBrgb(128, 65, 81)
HSLhsl(345, 33%, 38%)
HSVhsv(345, 49%, 50%)
CMYKcmyk(0%, 49.2%, 36.7%, 49.8%)
CIE-LABlab(35.92, 28.98, 2.82)
CIE-LCHlch(35.92, 29.11, 5.56°)
OKLaboklab(45.89% 0.088 0.0077)
OKLCHoklch(45.89% 0.088 5)
XYZxyz(12.2782, 8.9650, 8.8668)
Luminance0.0896 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804151 #418070
analogous
#804170 #804151 #805141
triadic
#804151 #518041 #415180
tetradic
#804151 #708041 #418070 #514180
square
#804151 #708041 #418070 #514180
split-complementary
#804151 #418051 #417080
monochromatic
#2F181E #572C37 #804151 #A9566B #BD7E8E

Accessibility & contrast

On white

7.52
#804151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#804151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #804151
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804151#FFFFFF#000000##FFFFFF
##8041511.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4D51
Deuteranopia (green-blind)
#5C5950
Tritanopia (blue-blind)
#8A3B47
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #804151;
/* rgb */ color: rgb(128, 65, 81);
/* oklch */ color: oklch(45.9% 0.088 5.0);
Tailwind
colors: {
  custom: {
    50: '#a77781',
    500: '#804151',
    950: '#000000',
  },
}
SCSS
$custom: #804151;
$custom-light: #a77781;
$custom-dark: #000000;
JSON
{
  "hex": "#804151",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 81
  },
  "hsl": {
    "h": 344.762,
    "s": 32.642,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45885,
    "c": 0.08832,
    "h": 5
  },
  "luminance": 0.08964
}

Semantic roles & 50–950 ramp

primary
#804151
secondary
#75A89B
accent
#C9AE5F
background
#FAF7F7
surface
#F4EDEE
border
#CEC8C9
text
#10090A
muted
#7F7B7C

Preview Lab

Preview with #804151

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

Preview Lab → · Contrast checker → · Palette generator →

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