#802857#802857

#802857 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.5% C 0.131 H 351.1°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#802857
RGBrgb(128, 40, 87)
HSLhsl(328, 52%, 33%)
HSVhsv(328, 69%, 50%)
CMYKcmyk(0%, 68.8%, 32%, 49.8%)
CIE-LABlab(31.34, 42.40, -7.79)
CIE-LCHlch(31.34, 43.11, 349.59°)
OKLaboklab(42.53% 0.1292 -0.0202)
OKLCHoklch(42.53% 0.131 351.1)
XYZxyz(11.3817, 6.7961, 9.7274)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802857 #288051
analogous
#7D2880 #802857 #80282B
triadic
#802857 #578028 #285780
tetradic
#802857 #807D28 #288051 #282B80
square
#802857 #807D28 #288051 #282B80
split-complementary
#802857 #2B8028 #28807D
monochromatic
#230B18 #511937 #802857 #AF3777 #CB5895

Accessibility & contrast

On white

8.90
#802857 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#802857 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802857
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802857#FFFFFF#000000##FFFFFF
##8028571.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354058
Deuteranopia (green-blind)
#4E5055
Tritanopia (blue-blind)
#8A233C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #802857;
/* rgb */ color: rgb(128, 40, 87);
/* oklch */ color: oklch(42.5% 0.131 351.1);
Tailwind
colors: {
  custom: {
    50: '#a86986',
    500: '#802857',
    950: '#000000',
  },
}
SCSS
$custom: #802857;
$custom-light: #a86986;
$custom-dark: #000000;
JSON
{
  "hex": "#802857",
  "rgb": {
    "r": 128,
    "g": 40,
    "b": 87
  },
  "hsl": {
    "h": 327.955,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42531,
    "c": 0.1308,
    "h": 351.1
  },
  "luminance": 0.06795
}

Semantic roles & 50–950 ramp

primary
#802857
secondary
#54B07F
accent
#DC8F4C
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #802857

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

Preview Lab → · Contrast checker → · Palette generator →

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