#80226B#80226B

#80226B is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.152 H 338.3°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#80226B
RGBrgb(128, 34, 107)
HSLhsl(313, 58%, 32%)
HSVhsv(313, 73%, 50%)
CMYKcmyk(0%, 73.4%, 16.4%, 49.8%)
CIE-LABlab(31.34, 47.68, -20.70)
CIE-LCHlch(31.34, 51.98, 336.53°)
OKLaboklab(42.81% 0.1411 -0.0561)
OKLCHoklch(42.81% 0.152 338.3)
XYZxyz(12.1282, 6.7959, 14.5801)
Luminance0.0679 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80226B #228037
analogous
#662280 #80226B #80223C
triadic
#80226B #6B8022 #226B80
tetradic
#80226B #806622 #228037 #223C80
square
#80226B #806622 #228037 #223C80
split-complementary
#80226B #3C8022 #228066
monochromatic
#1F081A #501543 #80226B #B02F93 #D04DB2

Accessibility & contrast

On white

8.90
#80226B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##80226B#FFFFFF#000000##FFFFFF
##80226B1.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)
#26406D
Deuteranopia (green-blind)
#454F69
Tritanopia (blue-blind)
#872643
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #80226b;
/* rgb */ color: rgb(128, 34, 107);
/* oklch */ color: oklch(42.8% 0.152 338.3);
Tailwind
colors: {
  custom: {
    50: '#a86695',
    500: '#80226b',
    950: '#000000',
  },
}
SCSS
$custom: #80226b;
$custom-light: #a86695;
$custom-dark: #000000;
JSON
{
  "hex": "#80226b",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 107
  },
  "hsl": {
    "h": 313.404,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42814,
    "c": 0.15185,
    "h": 338.3
  },
  "luminance": 0.06795
}

Semantic roles & 50–950 ramp

primary
#80226B
secondary
#4BB262
accent
#E16947
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #80226B

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

Preview Lab → · Contrast checker → · Palette generator →

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