#802840#802840

#802840 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 41.7% C 0.122 H 7.6°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#802840
RGBrgb(128, 40, 64)
HSLhsl(344, 52%, 33%)
HSVhsv(344, 69%, 50%)
CMYKcmyk(0%, 68.8%, 50%, 49.8%)
CIE-LABlab(30.59, 39.76, 6.20)
CIE-LCHlch(30.59, 40.24, 8.87°)
OKLaboklab(41.73% 0.121 0.0162)
OKLCHoklch(41.73% 0.122 7.6)
XYZxyz(10.5871, 6.4783, 5.5424)
Luminance0.0648 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802840 #288068
analogous
#80286C #802840 #803C28
triadic
#802840 #408028 #284080
tetradic
#802840 #6C8028 #288068 #3C2880
square
#802840 #6C8028 #288068 #3C2880
split-complementary
#802840 #28803C #286C80
monochromatic
#230B11 #511929 #802840 #AF3757 #CB5877

Accessibility & contrast

On white

9.15
#802840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#802840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802840
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802840#FFFFFF#000000##FFFFFF
##8028401.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3D41
Deuteranopia (green-blind)
#534E3E
Tritanopia (blue-blind)
#8C1A31
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #802840;
/* rgb */ color: rgb(128, 40, 64);
/* oklch */ color: oklch(41.7% 0.122 7.6);
Tailwind
colors: {
  custom: {
    50: '#a96874',
    500: '#802840',
    950: '#000000',
  },
}
SCSS
$custom: #802840;
$custom-light: #a96874;
$custom-dark: #000000;
JSON
{
  "hex": "#802840",
  "rgb": {
    "r": 128,
    "g": 40,
    "b": 64
  },
  "hsl": {
    "h": 343.636,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4173,
    "c": 0.1221,
    "h": 7.6
  },
  "luminance": 0.06477
}

Semantic roles & 50–950 ramp

primary
#802840
secondary
#54B097
accent
#DCB54C
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #802840

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

Preview Lab → · Contrast checker → · Palette generator →

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