#802258#802258

#802258 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.140 H 349.5°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#802258
RGBrgb(128, 34, 88)
HSLhsl(326, 58%, 32%)
HSVhsv(326, 73%, 50%)
CMYKcmyk(0%, 73.4%, 31.3%, 49.8%)
CIE-LABlab(30.49, 44.99, -9.72)
CIE-LCHlch(30.49, 46.02, 347.81°)
OKLaboklab(41.92% 0.1372 -0.0254)
OKLCHoklch(41.92% 0.14 349.5)
XYZxyz(11.2361, 6.4391, 9.8818)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802258 #22804A
analogous
#792280 #802258 #802229
triadic
#802258 #588022 #225880
tetradic
#802258 #807922 #22804A #222980
square
#802258 #807922 #22804A #222980
split-complementary
#802258 #298022 #228079
monochromatic
#1F0816 #501537 #802258 #B02F79 #D04D98

Accessibility & contrast

On white

9.18
#802258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#802258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802258
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802258#FFFFFF#000000##FFFFFF
##8022581.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303D59
Deuteranopia (green-blind)
#4B4E56
Tritanopia (blue-blind)
#8A1D3A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #802258;
/* rgb */ color: rgb(128, 34, 88);
/* oklch */ color: oklch(41.9% 0.140 349.5);
Tailwind
colors: {
  custom: {
    50: '#a86687',
    500: '#802258',
    950: '#000000',
  },
}
SCSS
$custom: #802258;
$custom-light: #a86687;
$custom-dark: #000000;
JSON
{
  "hex": "#802258",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 88
  },
  "hsl": {
    "h": 325.532,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41924,
    "c": 0.1395,
    "h": 349.5
  },
  "luminance": 0.06438
}

Semantic roles & 50–950 ramp

primary
#802258
secondary
#4BB277
accent
#E18847
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #802258

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

Preview Lab → · Contrast checker → · Palette generator →

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