#802F4A#802F4A

#802F4A is a dark, moderate pink. Relative luminance 0.071; OKLCH L 42.9% C 0.115 H 2.5°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#802F4A
RGBrgb(128, 47, 74)
HSLhsl(340, 46%, 34%)
HSVhsv(340, 63%, 50%)
CMYKcmyk(0%, 63.3%, 42.2%, 49.8%)
CIE-LABlab(32.07, 37.59, 1.77)
CIE-LCHlch(32.07, 37.63, 2.70°)
OKLaboklab(42.93% 0.1147 0.005)
OKLCHoklch(42.93% 0.115 2.5)
XYZxyz(11.1554, 7.1179, 7.2637)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802F4A #2F8065
analogous
#802F73 #802F4A #803D2F
triadic
#802F4A #4A802F #2F4A80
tetradic
#802F4A #73802F #2F8065 #3D2F80
square
#802F4A #73802F #2F8065 #3D2F80
split-complementary
#802F4A #2F803D #2F7380
monochromatic
#260E16 #531F30 #802F4A #AD3F64 #C66384

Accessibility & contrast

On white

8.67
#802F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#802F4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802F4A
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802F4A#FFFFFF#000000##FFFFFF
##802F4A1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E424B
Deuteranopia (green-blind)
#545148
Tritanopia (blue-blind)
#8B2639
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #802f4a;
/* rgb */ color: rgb(128, 47, 74);
/* oklch */ color: oklch(42.9% 0.115 2.5);
Tailwind
colors: {
  custom: {
    50: '#a86c7c',
    500: '#802f4a',
    950: '#000000',
  },
}
SCSS
$custom: #802f4a;
$custom-light: #a86c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#802f4a",
  "rgb": {
    "r": 128,
    "g": 47,
    "b": 74
  },
  "hsl": {
    "h": 340,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4293,
    "c": 0.11482,
    "h": 2.5
  },
  "luminance": 0.07117
}

Semantic roles & 50–950 ramp

primary
#802F4A
secondary
#5EAD93
accent
#D6AA52
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #802F4A

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

Preview Lab → · Contrast checker → · Palette generator →

#802F4A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva