#80126B#80126B

#80126B is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.6% C 0.168 H 337.8°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#80126B
RGBrgb(128, 18, 107)
HSLhsl(311, 75%, 29%)
HSVhsv(311, 86%, 50%)
CMYKcmyk(0%, 85.9%, 16.4%, 49.8%)
CIE-LABlab(29.62, 52.58, -23.38)
CIE-LCHlch(29.62, 57.54, 336.03°)
OKLaboklab(41.58% 0.1558 -0.0636)
OKLCHoklch(41.58% 0.168 337.8)
XYZxyz(11.7725, 6.0845, 14.4615)
Luminance0.0608 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80126B #128027
analogous
#5E1280 #80126B #801234
triadic
#80126B #6B8012 #126B80
tetradic
#80126B #805E12 #128027 #123480
square
#80126B #805E12 #128027 #123480
split-complementary
#80126B #348012 #12805E
monochromatic
#1B0416 #4A0A3E #80126B #B61A98 #E12BBE

Accessibility & contrast

On white

9.47
#80126B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#80126B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #80126B
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80126B#FFFFFF#000000##FFFFFF
##80126B1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183B6D
Deuteranopia (green-blind)
#404C69
Tritanopia (blue-blind)
#881A3F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #80126b;
/* rgb */ color: rgb(128, 18, 107);
/* oklch */ color: oklch(41.6% 0.168 337.8);
Tailwind
colors: {
  custom: {
    50: '#a96195',
    500: '#80126b',
    950: '#000000',
  },
}
SCSS
$custom: #80126b;
$custom-light: #a96195;
$custom-dark: #000000;
JSON
{
  "hex": "#80126b",
  "rgb": {
    "r": 128,
    "g": 18,
    "b": 107
  },
  "hsl": {
    "h": 311.455,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.4158,
    "c": 0.16834,
    "h": 337.8
  },
  "luminance": 0.06083
}

Semantic roles & 50–950 ramp

primary
#80126B
secondary
#38B650
accent
#F25A36
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #80126B

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

Preview Lab → · Contrast checker → · Palette generator →

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