#804262#804262

#804262 is a mid, moderate pink. Relative luminance 0.094; OKLCH L 46.6% C 0.094 H 349.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#804262
RGBrgb(128, 66, 98)
HSLhsl(329, 32%, 38%)
HSVhsv(329, 48%, 50%)
CMYKcmyk(0%, 48.4%, 23.4%, 49.8%)
CIE-LABlab(36.68, 30.89, -6.82)
CIE-LCHlch(36.68, 31.63, 347.56°)
OKLaboklab(46.64% 0.0926 -0.0178)
OKLCHoklch(46.64% 0.094 349.1)
XYZxyz(13.0552, 9.3685, 12.6736)
Luminance0.0937 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804262 #428060
analogous
#7F4280 #804262 #804243
triadic
#804262 #628042 #426280
tetradic
#804262 #807F42 #428060 #424380
square
#804262 #807F42 #428060 #424380
split-complementary
#804262 #438042 #42807F
monochromatic
#2F1824 #582D43 #804262 #A85781 #BD7F9F

Accessibility & contrast

On white

7.31
#804262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#804262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #804262
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804262#FFFFFF#000000##FFFFFF
##8042621.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485063
Deuteranopia (green-blind)
#585A60
Tritanopia (blue-blind)
#88404E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #804262;
/* rgb */ color: rgb(128, 66, 98);
/* oklch */ color: oklch(46.6% 0.094 349.1);
Tailwind
colors: {
  custom: {
    50: '#a7788e',
    500: '#804262',
    950: '#000000',
  },
}
SCSS
$custom: #804262;
$custom-light: #a7788e;
$custom-dark: #000000;
JSON
{
  "hex": "#804262",
  "rgb": {
    "r": 128,
    "g": 66,
    "b": 98
  },
  "hsl": {
    "h": 329.032,
    "s": 31.959,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46644,
    "c": 0.09431,
    "h": 349.1
  },
  "luminance": 0.09367
}

Semantic roles & 50–950 ramp

primary
#804262
secondary
#76A88E
accent
#C89260
background
#FAF7F8
surface
#F4EDF0
border
#CEC8CB
text
#10090C
muted
#7F7B7D

Preview Lab

Preview with #804262

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

Preview Lab → · Contrast checker → · Palette generator →

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