#802546#802546

#802546 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.6% C 0.128 H 2.3°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#802546
RGBrgb(128, 37, 70)
HSLhsl(338, 55%, 32%)
HSVhsv(338, 71%, 50%)
CMYKcmyk(0%, 71.1%, 45.3%, 49.8%)
CIE-LABlab(30.29, 41.66, 1.82)
CIE-LCHlch(30.29, 41.70, 2.50°)
OKLaboklab(41.57% 0.1275 0.0052)
OKLCHoklch(41.57% 0.128 2.3)
XYZxyz(10.6699, 6.3559, 6.4581)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802546 #25805F
analogous
#802574 #802546 #803225
triadic
#802546 #468025 #254680
tetradic
#802546 #748025 #25805F #322580
square
#802546 #748025 #25805F #322580
split-complementary
#802546 #258032 #257480
monochromatic
#210A12 #51172C #802546 #AF3360 #CD527F

Accessibility & contrast

On white

9.25
#802546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#802546 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802546
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802546#FFFFFF#000000##FFFFFF
##8025461.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383C47
Deuteranopia (green-blind)
#514E44
Tritanopia (blue-blind)
#8B1832
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #802546;
/* rgb */ color: rgb(128, 37, 70);
/* oklch */ color: oklch(41.6% 0.128 2.3);
Tailwind
colors: {
  custom: {
    50: '#a96779',
    500: '#802546',
    950: '#000000',
  },
}
SCSS
$custom: #802546;
$custom-light: #a96779;
$custom-dark: #000000;
JSON
{
  "hex": "#802546",
  "rgb": {
    "r": 128,
    "g": 37,
    "b": 70
  },
  "hsl": {
    "h": 338.242,
    "s": 55.152,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41568,
    "c": 0.12758,
    "h": 2.3
  },
  "luminance": 0.06355
}

Semantic roles & 50–950 ramp

primary
#802546
secondary
#50B18E
accent
#DEA849
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #802546

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

Preview Lab → · Contrast checker → · Palette generator →

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