#802451#802451

#802451 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.133 H 354.4°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#802451
RGBrgb(128, 36, 81)
HSLhsl(331, 56%, 32%)
HSVhsv(331, 72%, 50%)
CMYKcmyk(0%, 71.9%, 36.7%, 49.8%)
CIE-LABlab(30.51, 43.32, -5.11)
CIE-LCHlch(30.51, 43.62, 353.28°)
OKLaboklab(41.85% 0.1326 -0.0129)
OKLCHoklch(41.85% 0.133 354.4)
XYZxyz(11.0188, 6.4463, 8.4470)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802451 #248053
analogous
#80247F #802451 #802524
triadic
#802451 #518024 #245180
tetradic
#802451 #7F8024 #248053 #252480
square
#802451 #7F8024 #248053 #252480
split-complementary
#802451 #248025 #247F80
monochromatic
#200915 #501733 #802451 #B0316F #CE508E

Accessibility & contrast

On white

9.17
#802451 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#802451 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802451
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802451#FFFFFF#000000##FFFFFF
##8024511.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343D52
Deuteranopia (green-blind)
#4E4E4F
Tritanopia (blue-blind)
#8A1C37
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #802451;
/* rgb */ color: rgb(128, 36, 81);
/* oklch */ color: oklch(41.8% 0.133 354.4);
Tailwind
colors: {
  custom: {
    50: '#a96681',
    500: '#802451',
    950: '#000000',
  },
}
SCSS
$custom: #802451;
$custom-light: #a96681;
$custom-dark: #000000;
JSON
{
  "hex": "#802451",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 81
  },
  "hsl": {
    "h": 330.652,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41849,
    "c": 0.13325,
    "h": 354.4
  },
  "luminance": 0.06445
}

Semantic roles & 50–950 ramp

primary
#802451
secondary
#4EB281
accent
#DF9648
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #802451

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

Preview Lab → · Contrast checker → · Palette generator →

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