#80226C#80226C

#80226C is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.9% C 0.153 H 337.8°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#80226C
RGBrgb(128, 34, 108)
HSLhsl(313, 58%, 32%)
HSVhsv(313, 73%, 50%)
CMYKcmyk(0%, 73.4%, 15.6%, 49.8%)
CIE-LABlab(31.39, 47.83, -21.27)
CIE-LCHlch(31.39, 52.35, 336.03°)
OKLaboklab(42.86% 0.1412 -0.0577)
OKLCHoklch(42.86% 0.153 337.8)
XYZxyz(12.1811, 6.8171, 14.8587)
Luminance0.0682 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80226C #228036
analogous
#652280 #80226C #80223D
triadic
#80226C #6C8022 #226C80
tetradic
#80226C #806522 #228036 #223D80
square
#80226C #806522 #228036 #223D80
split-complementary
#80226C #3D8022 #228065
monochromatic
#1F081A #501543 #80226C #B02F95 #D04DB4

Accessibility & contrast

On white

8.89
#80226C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#80226C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80226C
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80226C#FFFFFF#000000##FFFFFF
##80226C1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26416E
Deuteranopia (green-blind)
#454F6A
Tritanopia (blue-blind)
#872744
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #80226c;
/* rgb */ color: rgb(128, 34, 108);
/* oklch */ color: oklch(42.9% 0.153 337.8);
Tailwind
colors: {
  custom: {
    50: '#a86696',
    500: '#80226c',
    950: '#000000',
  },
}
SCSS
$custom: #80226c;
$custom-light: #a86696;
$custom-dark: #000000;
JSON
{
  "hex": "#80226c",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 108
  },
  "hsl": {
    "h": 312.766,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42865,
    "c": 0.15258,
    "h": 337.8
  },
  "luminance": 0.06816
}

Semantic roles & 50–950 ramp

primary
#80226C
secondary
#4BB261
accent
#E16747
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #80226C

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

Preview Lab → · Contrast checker → · Palette generator →

#80226C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva