#802460#802460

#802460 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.142 H 344.8°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#802460
RGBrgb(128, 36, 96)
HSLhsl(321, 56%, 32%)
HSVhsv(321, 72%, 50%)
CMYKcmyk(0%, 71.9%, 25%, 49.8%)
CIE-LABlab(31.11, 45.29, -13.98)
CIE-LCHlch(31.11, 47.40, 342.84°)
OKLaboklab(42.48% 0.1367 -0.0372)
OKLCHoklch(42.48% 0.142 344.8)
XYZxyz(11.6447, 6.6967, 11.7434)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802460 #248044
analogous
#722480 #802460 #802432
triadic
#802460 #608024 #246080
tetradic
#802460 #807224 #248044 #243280
square
#802460 #807224 #248044 #243280
split-complementary
#802460 #328024 #248072
monochromatic
#200918 #50173C #802460 #B03184 #CE50A2

Accessibility & contrast

On white

8.98
#802460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#802460 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802460
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802460#FFFFFF#000000##FFFFFF
##8024601.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3F62
Deuteranopia (green-blind)
#4A4F5E
Tritanopia (blue-blind)
#89233E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #802460;
/* rgb */ color: rgb(128, 36, 96);
/* oklch */ color: oklch(42.5% 0.142 344.8);
Tailwind
colors: {
  custom: {
    50: '#a8678d',
    500: '#802460',
    950: '#000000',
  },
}
SCSS
$custom: #802460;
$custom-light: #a8678d;
$custom-dark: #000000;
JSON
{
  "hex": "#802460",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 96
  },
  "hsl": {
    "h": 320.87,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4248,
    "c": 0.1417,
    "h": 344.8
  },
  "luminance": 0.06695
}

Semantic roles & 50–950 ramp

primary
#802460
secondary
#4EB271
accent
#DF7D48
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #802460

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

Preview Lab → · Contrast checker → · Palette generator →

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