#802457#802457

#802457 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.136 H 350.4°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#802457
RGBrgb(128, 36, 87)
HSLhsl(327, 56%, 32%)
HSVhsv(327, 72%, 50%)
CMYKcmyk(0%, 71.9%, 32%, 49.8%)
CIE-LABlab(30.74, 44.07, -8.70)
CIE-LCHlch(30.74, 44.92, 348.84°)
OKLaboklab(42.09% 0.1344 -0.0226)
OKLCHoklch(42.09% 0.136 350.4)
XYZxyz(11.2538, 6.5403, 9.6847)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802457 #24804D
analogous
#7B2480 #802457 #802429
triadic
#802457 #578024 #245780
tetradic
#802457 #807B24 #24804D #242980
square
#802457 #807B24 #24804D #242980
split-complementary
#802457 #298024 #24807B
monochromatic
#200916 #501737 #802457 #B03177 #CE5096

Accessibility & contrast

On white

9.10
#802457 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#802457 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802457
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802457#FFFFFF#000000##FFFFFF
##8024571.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323E58
Deuteranopia (green-blind)
#4C4E55
Tritanopia (blue-blind)
#8A1F3A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #802457;
/* rgb */ color: rgb(128, 36, 87);
/* oklch */ color: oklch(42.1% 0.136 350.4);
Tailwind
colors: {
  custom: {
    50: '#a86786',
    500: '#802457',
    950: '#000000',
  },
}
SCSS
$custom: #802457;
$custom-light: #a86786;
$custom-dark: #000000;
JSON
{
  "hex": "#802457",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 87
  },
  "hsl": {
    "h": 326.739,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42088,
    "c": 0.13632,
    "h": 350.4
  },
  "luminance": 0.06539
}

Semantic roles & 50–950 ramp

primary
#802457
secondary
#4EB27A
accent
#DF8C48
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #802457

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

Preview Lab → · Contrast checker → · Palette generator →

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