#80226F#80226F

#80226F is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.155 H 336.2°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#80226F
RGBrgb(128, 34, 111)
HSLhsl(311, 58%, 32%)
HSVhsv(311, 73%, 50%)
CMYKcmyk(0%, 73.4%, 13.3%, 49.8%)
CIE-LABlab(31.54, 48.30, -22.95)
CIE-LCHlch(31.54, 53.48, 334.59°)
OKLaboklab(43.02% 0.1416 -0.0625)
OKLCHoklch(43.02% 0.155 336.2)
XYZxyz(12.3435, 6.8820, 15.7141)
Luminance0.0688 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80226F #228033
analogous
#622280 #80226F #802240
triadic
#80226F #6F8022 #226F80
tetradic
#80226F #806222 #228033 #224080
square
#80226F #806222 #228033 #224080
split-complementary
#80226F #408022 #228062
monochromatic
#1F081B #501545 #80226F #B02F99 #D04DB8

Accessibility & contrast

On white

8.84
#80226F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#80226F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80226F
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80226F#FFFFFF#000000##FFFFFF
##80226F1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234171
Deuteranopia (green-blind)
#434F6D
Tritanopia (blue-blind)
#872846
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #80226f;
/* rgb */ color: rgb(128, 34, 111);
/* oklch */ color: oklch(43.0% 0.155 336.2);
Tailwind
colors: {
  custom: {
    50: '#a86798',
    500: '#80226f',
    950: '#000000',
  },
}
SCSS
$custom: #80226f;
$custom-light: #a86798;
$custom-dark: #000000;
JSON
{
  "hex": "#80226f",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 310.851,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43023,
    "c": 0.15481,
    "h": 336.2
  },
  "luminance": 0.06881
}

Semantic roles & 50–950 ramp

primary
#80226F
secondary
#4BB25E
accent
#E16347
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #80226F

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

Preview Lab → · Contrast checker → · Palette generator →

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