#801247#801247

#801247 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.148 H 358.1°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#801247
RGBrgb(128, 18, 71)
HSLhsl(331, 75%, 29%)
HSVhsv(331, 86%, 50%)
CMYKcmyk(0%, 85.9%, 44.5%, 49.8%)
CIE-LABlab(28.06, 48.15, -2.12)
CIE-LCHlch(28.06, 48.20, 357.48°)
OKLaboklab(39.93% 0.1483 -0.005)
OKLCHoklch(39.93% 0.148 358.1)
XYZxyz(10.2565, 5.4781, 6.4773)
Luminance0.0548 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801247 #12804B
analogous
#80127E #801247 #801412
triadic
#801247 #478012 #124780
tetradic
#801247 #7E8012 #12804B #141280
square
#801247 #7E8012 #12804B #141280
split-complementary
#801247 #128014 #127E80
monochromatic
#1B040F #4A0A29 #801247 #B61A65 #E12B83

Accessibility & contrast

On white

10.02
#801247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #801247
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801247#FFFFFF#000000##FFFFFF
##8012471.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3548
Deuteranopia (green-blind)
#4B4945
Tritanopia (blue-blind)
#8B002B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #801247;
/* rgb */ color: rgb(128, 18, 71);
/* oklch */ color: oklch(39.9% 0.148 358.1);
Tailwind
colors: {
  custom: {
    50: '#aa5f7a',
    500: '#801247',
    950: '#000000',
  },
}
SCSS
$custom: #801247;
$custom-light: #aa5f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#801247",
  "rgb": {
    "r": 128,
    "g": 18,
    "b": 71
  },
  "hsl": {
    "h": 331.091,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39934,
    "c": 0.14836,
    "h": 358.1
  },
  "luminance": 0.05477
}

Semantic roles & 50–950 ramp

primary
#801247
secondary
#38B679
accent
#F29736
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110509
muted
#80797B

Preview Lab

Preview with #801247

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

Preview Lab → · Contrast checker → · Palette generator →

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