#804374#804374

#804374 is a mid, moderate pink. Relative luminance 0.099; OKLCH L 47.6% C 0.106 H 334.9°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#804374
RGBrgb(128, 67, 116)
HSLhsl(312, 31%, 38%)
HSVhsv(312, 48%, 50%)
CMYKcmyk(0%, 47.7%, 9.4%, 49.8%)
CIE-LABlab(37.60, 33.41, -16.71)
CIE-LCHlch(37.60, 37.36, 333.44°)
OKLaboklab(47.56% 0.0964 -0.0451)
OKLCHoklch(47.56% 0.106 334.9)
XYZxyz(14.0616, 9.8653, 17.6832)
Luminance0.0986 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804374 #43804F
analogous
#6D4380 #804374 #804355
triadic
#804374 #748043 #437480
tetradic
#804374 #806D43 #43804F #435580
square
#804374 #806D43 #43804F #435580
split-complementary
#804374 #558043 #43806D
monochromatic
#30192B #582E50 #804374 #A85898 #BD81B1

Accessibility & contrast

On white

7.06
#804374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#804374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #804374
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804374#FFFFFF#000000##FFFFFF
##8043741.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435376
Deuteranopia (green-blind)
#545C72
Tritanopia (blue-blind)
#854656
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #804374;
/* rgb */ color: rgb(128, 67, 116);
/* oklch */ color: oklch(47.6% 0.106 334.9);
Tailwind
colors: {
  custom: {
    50: '#a6799c',
    500: '#804374',
    950: '#000000',
  },
}
SCSS
$custom: #804374;
$custom-light: #a6799c;
$custom-dark: #000000;
JSON
{
  "hex": "#804374",
  "rgb": {
    "r": 128,
    "g": 67,
    "b": 116
  },
  "hsl": {
    "h": 311.803,
    "s": 31.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4756,
    "c": 0.10641,
    "h": 334.9
  },
  "luminance": 0.09864
}

Semantic roles & 50–950 ramp

primary
#804374
secondary
#77A881
accent
#C77560
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#10090E
muted
#7F7B7E

Preview Lab

Preview with #804374

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

Preview Lab → · Contrast checker → · Palette generator →

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