#804273#804273

#804273 is a mid, moderate pink. Relative luminance 0.097; OKLCH L 47.4% C 0.107 H 335.5°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#804273
RGBrgb(128, 66, 115)
HSLhsl(313, 32%, 38%)
HSVhsv(313, 48%, 50%)
CMYKcmyk(0%, 48.4%, 10.2%, 49.8%)
CIE-LABlab(37.34, 33.78, -16.48)
CIE-LCHlch(37.34, 37.59, 334.00°)
OKLaboklab(47.35% 0.0977 -0.0445)
OKLCHoklch(47.35% 0.107 335.5)
XYZxyz(13.9448, 9.7243, 17.3588)
Luminance0.0972 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804273 #42804F
analogous
#6E4280 #804273 #804254
triadic
#804273 #738042 #427380
tetradic
#804273 #806E42 #42804F #425480
square
#804273 #806E42 #42804F #425480
split-complementary
#804273 #548042 #42806E
monochromatic
#2F182A #582D4F #804273 #A85797 #BD7FB0

Accessibility & contrast

On white

7.13
#804273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#804273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #804273
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804273#FFFFFF#000000##FFFFFF
##8042731.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425275
Deuteranopia (green-blind)
#535B71
Tritanopia (blue-blind)
#854555
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #804273;
/* rgb */ color: rgb(128, 66, 115);
/* oklch */ color: oklch(47.4% 0.107 335.5);
Tailwind
colors: {
  custom: {
    50: '#a6789b',
    500: '#804273',
    950: '#000000',
  },
}
SCSS
$custom: #804273;
$custom-light: #a6789b;
$custom-dark: #000000;
JSON
{
  "hex": "#804273",
  "rgb": {
    "r": 128,
    "g": 66,
    "b": 115
  },
  "hsl": {
    "h": 312.581,
    "s": 31.959,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47354,
    "c": 0.10736,
    "h": 335.5
  },
  "luminance": 0.09723
}

Semantic roles & 50–950 ramp

primary
#804273
secondary
#76A880
accent
#C87660
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#10090E
muted
#7F7B7E

Preview Lab

Preview with #804273

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

Preview Lab → · Contrast checker → · Palette generator →

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