#802B4F#802B4F

#802B4F is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.6% C 0.123 H 357.4°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#802B4F
RGBrgb(128, 43, 79)
HSLhsl(335, 50%, 34%)
HSVhsv(335, 66%, 50%)
CMYKcmyk(0%, 66.4%, 38.3%, 49.8%)
CIE-LABlab(31.54, 40.06, -2.27)
CIE-LCHlch(31.54, 40.13, 356.75°)
OKLaboklab(42.59% 0.1225 -0.0055)
OKLCHoklch(42.59% 0.123 357.4)
XYZxyz(11.1779, 6.8827, 8.1355)
Luminance0.0688 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802B4F #2B805C
analogous
#802B79 #802B4F #80312B
triadic
#802B4F #4F802B #2B4F80
tetradic
#802B4F #79802B #2B805C #312B80
square
#802B4F #79802B #2B805C #312B80
split-complementary
#802B4F #2B8031 #2B7980
monochromatic
#240C16 #521C33 #802B4F #AE3A6B #C95D8A

Accessibility & contrast

On white

8.84
#802B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#802B4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802B4F
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802B4F#FFFFFF#000000##FFFFFF
##802B4F1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4050
Deuteranopia (green-blind)
#51504D
Tritanopia (blue-blind)
#8A2339
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #802b4f;
/* rgb */ color: rgb(128, 43, 79);
/* oklch */ color: oklch(42.6% 0.123 357.4);
Tailwind
colors: {
  custom: {
    50: '#a86a80',
    500: '#802b4f',
    950: '#000000',
  },
}
SCSS
$custom: #802b4f;
$custom-light: #a86a80;
$custom-dark: #000000;
JSON
{
  "hex": "#802b4f",
  "rgb": {
    "r": 128,
    "g": 43,
    "b": 79
  },
  "hsl": {
    "h": 334.588,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42585,
    "c": 0.12258,
    "h": 357.4
  },
  "luminance": 0.06881
}

Semantic roles & 50–950 ramp

primary
#802B4F
secondary
#58AE8A
accent
#D99F4F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #802B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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