#802F4F#802F4F

#802F4F is a dark, moderate pink. Relative luminance 0.072; OKLCH L 43.1% C 0.117 H 358.6°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#802F4F
RGBrgb(128, 47, 79)
HSLhsl(336, 46%, 34%)
HSVhsv(336, 63%, 50%)
CMYKcmyk(0%, 63.3%, 38.3%, 49.8%)
CIE-LABlab(32.23, 38.19, -1.26)
CIE-LCHlch(32.23, 38.21, 358.12°)
OKLaboklab(43.1% 0.1166 -0.0028)
OKLCHoklch(43.1% 0.117 358.6)
XYZxyz(11.3305, 7.1880, 8.1863)
Luminance0.0719 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802F4F #2F8060
analogous
#802F78 #802F4F #80372F
triadic
#802F4F #4F802F #2F4F80
tetradic
#802F4F #78802F #2F8060 #372F80
square
#802F4F #78802F #2F8060 #372F80
split-complementary
#802F4F #2F8037 #2F7880
monochromatic
#260E18 #531F33 #802F4F #AD3F6B #C6638A

Accessibility & contrast

On white

8.62
#802F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#802F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802F4F
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802F4F#FFFFFF#000000##FFFFFF
##802F4F1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4250
Deuteranopia (green-blind)
#53514D
Tritanopia (blue-blind)
#8A283B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #802f4f;
/* rgb */ color: rgb(128, 47, 79);
/* oklch */ color: oklch(43.1% 0.117 358.6);
Tailwind
colors: {
  custom: {
    50: '#a86c80',
    500: '#802f4f',
    950: '#000000',
  },
}
SCSS
$custom: #802f4f;
$custom-light: #a86c80;
$custom-dark: #000000;
JSON
{
  "hex": "#802f4f",
  "rgb": {
    "r": 128,
    "g": 47,
    "b": 79
  },
  "hsl": {
    "h": 336.296,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43099,
    "c": 0.11661,
    "h": 358.6
  },
  "luminance": 0.07187
}

Semantic roles & 50–950 ramp

primary
#802F4F
secondary
#5EAD8E
accent
#D6A252
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #802F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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