#802256#802256

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

Color values

HEX#802256
RGBrgb(128, 34, 86)
HSLhsl(327, 58%, 32%)
HSVhsv(327, 73%, 50%)
CMYKcmyk(0%, 73.4%, 32.8%, 49.8%)
CIE-LABlab(30.42, 44.73, -8.53)
CIE-LCHlch(30.42, 45.54, 349.21°)
OKLaboklab(41.84% 0.1366 -0.0221)
OKLCHoklch(41.84% 0.138 350.8)
XYZxyz(11.1544, 6.4064, 9.4514)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802256 #22804C
analogous
#7B2280 #802256 #802227
triadic
#802256 #568022 #225680
tetradic
#802256 #807B22 #22804C #222780
square
#802256 #807B22 #22804C #222780
split-complementary
#802256 #278022 #22807B
monochromatic
#1F0815 #501536 #802256 #B02F76 #D04D95

Accessibility & contrast

On white

9.21
#802256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#802256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802256
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802256#FFFFFF#000000##FFFFFF
##8022561.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313D57
Deuteranopia (green-blind)
#4C4E54
Tritanopia (blue-blind)
#8A1C39
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #802256;
/* rgb */ color: rgb(128, 34, 86);
/* oklch */ color: oklch(41.8% 0.138 350.8);
Tailwind
colors: {
  custom: {
    50: '#a96685',
    500: '#802256',
    950: '#000000',
  },
}
SCSS
$custom: #802256;
$custom-light: #a96685;
$custom-dark: #000000;
JSON
{
  "hex": "#802256",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 326.809,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4184,
    "c": 0.13839,
    "h": 350.8
  },
  "luminance": 0.06405
}

Semantic roles & 50–950 ramp

primary
#802256
secondary
#4BB279
accent
#E18C47
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #802256

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

Preview Lab → · Contrast checker → · Palette generator →

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