#802254#802254

#802254 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.137 H 352.1°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#802254
RGBrgb(128, 34, 84)
HSLhsl(328, 58%, 32%)
HSVhsv(328, 73%, 50%)
CMYKcmyk(0%, 73.4%, 34.4%, 49.8%)
CIE-LABlab(30.34, 44.48, -7.33)
CIE-LCHlch(30.34, 45.08, 350.64°)
OKLaboklab(41.76% 0.136 -0.0189)
OKLCHoklch(41.76% 0.137 352.1)
XYZxyz(11.0750, 6.3746, 9.0330)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802254 #22804E
analogous
#7D2280 #802254 #802225
triadic
#802254 #548022 #225480
tetradic
#802254 #807D22 #22804E #222580
square
#802254 #807D22 #22804E #222580
split-complementary
#802254 #258022 #22807D
monochromatic
#1F0815 #501534 #802254 #B02F74 #D04D92

Accessibility & contrast

On white

9.23
#802254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802254
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802254#FFFFFF#000000##FFFFFF
##8022541.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323D55
Deuteranopia (green-blind)
#4C4E52
Tritanopia (blue-blind)
#8A1B38
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #802254;
/* rgb */ color: rgb(128, 34, 84);
/* oklch */ color: oklch(41.8% 0.137 352.1);
Tailwind
colors: {
  custom: {
    50: '#a96684',
    500: '#802254',
    950: '#000000',
  },
}
SCSS
$custom: #802254;
$custom-light: #a96684;
$custom-dark: #000000;
JSON
{
  "hex": "#802254",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 84
  },
  "hsl": {
    "h": 328.085,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41759,
    "c": 0.13735,
    "h": 352.1
  },
  "luminance": 0.06373
}

Semantic roles & 50–950 ramp

primary
#802254
secondary
#4BB27C
accent
#E18F47
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #802254

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

Preview Lab → · Contrast checker → · Palette generator →

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