#801248#801248

#801248 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.149 H 357.5°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#801248
RGBrgb(128, 18, 72)
HSLhsl(331, 75%, 29%)
HSVhsv(331, 86%, 50%)
CMYKcmyk(0%, 85.9%, 43.8%, 49.8%)
CIE-LABlab(28.09, 48.25, -2.73)
CIE-LCHlch(28.09, 48.33, 356.76°)
OKLaboklab(39.97% 0.1486 -0.0066)
OKLCHoklch(39.97% 0.149 357.5)
XYZxyz(10.2889, 5.4911, 6.6477)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801248 #12804A
analogous
#80127F #801248 #801312
triadic
#801248 #488012 #124880
tetradic
#801248 #7F8012 #12804A #131280
square
#801248 #7F8012 #12804A #131280
split-complementary
#801248 #128013 #127F80
monochromatic
#1B040F #4A0A2A #801248 #B61A66 #E12B85

Accessibility & contrast

On white

10.01
#801248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#801248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801248
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801248#FFFFFF#000000##FFFFFF
##8012481.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3549
Deuteranopia (green-blind)
#4B4A46
Tritanopia (blue-blind)
#8B002C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #801248;
/* rgb */ color: rgb(128, 18, 72);
/* oklch */ color: oklch(40.0% 0.149 357.5);
Tailwind
colors: {
  custom: {
    50: '#aa5f7a',
    500: '#801248',
    950: '#000000',
  },
}
SCSS
$custom: #801248;
$custom-light: #aa5f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#801248",
  "rgb": {
    "r": 128,
    "g": 18,
    "b": 72
  },
  "hsl": {
    "h": 330.545,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39971,
    "c": 0.14876,
    "h": 357.5
  },
  "luminance": 0.0549
}

Semantic roles & 50–950 ramp

primary
#801248
secondary
#38B678
accent
#F29636
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110509
muted
#80797B

Preview Lab

Preview with #801248

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

Preview Lab → · Contrast checker → · Palette generator →

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