#802257#802257

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

Color values

HEX#802257
RGBrgb(128, 34, 87)
HSLhsl(326, 58%, 32%)
HSVhsv(326, 73%, 50%)
CMYKcmyk(0%, 73.4%, 32%, 49.8%)
CIE-LABlab(30.45, 44.86, -9.12)
CIE-LCHlch(30.45, 45.78, 348.50°)
OKLaboklab(41.88% 0.1369 -0.0238)
OKLCHoklch(41.88% 0.139 350.1)
XYZxyz(11.1950, 6.4226, 9.6651)
Luminance0.0642 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802257 #22804B
analogous
#7A2280 #802257 #802228
triadic
#802257 #578022 #225780
tetradic
#802257 #807A22 #22804B #222880
square
#802257 #807A22 #22804B #222880
split-complementary
#802257 #288022 #22807A
monochromatic
#1F0815 #501536 #802257 #B02F78 #D04D97

Accessibility & contrast

On white

9.19
#802257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802257
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802257#FFFFFF#000000##FFFFFF
##8022571.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313D58
Deuteranopia (green-blind)
#4C4E55
Tritanopia (blue-blind)
#8A1D39
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #802257;
/* rgb */ color: rgb(128, 34, 87);
/* oklch */ color: oklch(41.9% 0.139 350.1);
Tailwind
colors: {
  custom: {
    50: '#a96686',
    500: '#802257',
    950: '#000000',
  },
}
SCSS
$custom: #802257;
$custom-light: #a96686;
$custom-dark: #000000;
JSON
{
  "hex": "#802257",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 87
  },
  "hsl": {
    "h": 326.17,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41882,
    "c": 0.13894,
    "h": 350.1
  },
  "luminance": 0.06421
}

Semantic roles & 50–950 ramp

primary
#802257
secondary
#4BB278
accent
#E18A47
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #802257

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

Preview Lab → · Contrast checker → · Palette generator →

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