#802045#802045

#802045 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.0% C 0.134 H 1.8°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#802045
RGBrgb(128, 32, 69)
HSLhsl(337, 60%, 31%)
HSVhsv(337, 75%, 50%)
CMYKcmyk(0%, 75%, 46.1%, 49.8%)
CIE-LABlab(29.55, 43.54, 1.40)
CIE-LCHlch(29.55, 43.57, 1.84°)
OKLaboklab(41.01% 0.1334 0.0041)
OKLCHoklch(41.01% 0.134 1.8)
XYZxyz(10.4936, 6.0532, 6.2449)
Luminance0.0605 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802045 #20805B
analogous
#802075 #802045 #802B20
triadic
#802045 #458020 #204580
tetradic
#802045 #758020 #20805B #2B2080
square
#802045 #758020 #20805B #2B2080
split-complementary
#802045 #20802B #207580
monochromatic
#1E0810 #4F142B #802045 #B12C5F #D1497E

Accessibility & contrast

On white

9.50
#802045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#802045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802045
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802045#FFFFFF#000000##FFFFFF
##8020451.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353A46
Deuteranopia (green-blind)
#4F4C43
Tritanopia (blue-blind)
#8B1030
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #802045;
/* rgb */ color: rgb(128, 32, 69);
/* oklch */ color: oklch(41.0% 0.134 1.8);
Tailwind
colors: {
  custom: {
    50: '#a96478',
    500: '#802045',
    950: '#000000',
  },
}
SCSS
$custom: #802045;
$custom-light: #a96478;
$custom-dark: #000000;
JSON
{
  "hex": "#802045",
  "rgb": {
    "r": 128,
    "g": 32,
    "b": 69
  },
  "hsl": {
    "h": 336.875,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41006,
    "c": 0.1335,
    "h": 1.8
  },
  "luminance": 0.06052
}

Semantic roles & 50–950 ramp

primary
#802045
secondary
#49B38A
accent
#E3A645
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #802045

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

Preview Lab → · Contrast checker → · Palette generator →

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