#80226D#80226D

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

Color values

HEX#80226D
RGBrgb(128, 34, 109)
HSLhsl(312, 58%, 32%)
HSVhsv(312, 73%, 50%)
CMYKcmyk(0%, 73.4%, 14.8%, 49.8%)
CIE-LABlab(31.44, 47.99, -21.83)
CIE-LCHlch(31.44, 52.72, 335.54°)
OKLaboklab(42.92% 0.1414 -0.0593)
OKLCHoklch(42.92% 0.153 337.2)
XYZxyz(12.2347, 6.8385, 15.1406)
Luminance0.0684 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80226D #228035
analogous
#642280 #80226D #80223E
triadic
#80226D #6D8022 #226D80
tetradic
#80226D #806422 #228035 #223E80
square
#80226D #806422 #228035 #223E80
split-complementary
#80226D #3E8022 #228064
monochromatic
#1F081B #501544 #80226D #B02F96 #D04DB5

Accessibility & contrast

On white

8.87
#80226D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#80226D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80226D
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80226D#FFFFFF#000000##FFFFFF
##80226D1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25416F
Deuteranopia (green-blind)
#444F6B
Tritanopia (blue-blind)
#872744
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #80226d;
/* rgb */ color: rgb(128, 34, 109);
/* oklch */ color: oklch(42.9% 0.153 337.2);
Tailwind
colors: {
  custom: {
    50: '#a86697',
    500: '#80226d',
    950: '#000000',
  },
}
SCSS
$custom: #80226d;
$custom-light: #a86697;
$custom-dark: #000000;
JSON
{
  "hex": "#80226d",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 109
  },
  "hsl": {
    "h": 312.128,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42917,
    "c": 0.15332,
    "h": 337.2
  },
  "luminance": 0.06837
}

Semantic roles & 50–950 ramp

primary
#80226D
secondary
#4BB260
accent
#E16647
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #80226D

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

Preview Lab → · Contrast checker → · Palette generator →

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