#81256E#81256E

#81256E is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.4% C 0.151 H 337.3°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#81256E
RGBrgb(129, 37, 110)
HSLhsl(312, 55%, 33%)
HSVhsv(312, 71%, 51%)
CMYKcmyk(0%, 71.3%, 14.7%, 49.4%)
CIE-LABlab(32.07, 47.26, -21.46)
CIE-LCHlch(32.07, 51.91, 335.58°)
OKLaboklab(43.43% 0.1392 -0.0583)
OKLCHoklch(43.43% 0.151 337.3)
XYZxyz(12.5295, 7.1172, 15.4627)
Luminance0.0712 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81256E #258138
analogous
#662581 #81256E #812540
triadic
#81256E #6E8125 #256E81
tetradic
#81256E #816625 #258138 #254081
square
#81256E #816625 #258138 #254081
split-complementary
#81256E #408125 #258166
monochromatic
#220A1D #511745 #81256E #B13397 #CE53B4

Accessibility & contrast

On white

8.67
#81256E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#81256E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81256E
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81256E#FFFFFF#000000##FFFFFF
##81256E1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284270
Deuteranopia (green-blind)
#46516C
Tritanopia (blue-blind)
#882A46
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #81256e;
/* rgb */ color: rgb(129, 37, 110);
/* oklch */ color: oklch(43.4% 0.151 337.3);
Tailwind
colors: {
  custom: {
    50: '#a96898',
    500: '#81256e',
    950: '#000000',
  },
}
SCSS
$custom: #81256e;
$custom-light: #a96898;
$custom-dark: #000000;
JSON
{
  "hex": "#81256e",
  "rgb": {
    "r": 129,
    "g": 37,
    "b": 110
  },
  "hsl": {
    "h": 312.391,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43429,
    "c": 0.15086,
    "h": 337.3
  },
  "luminance": 0.07116
}

Semantic roles & 50–950 ramp

primary
#81256E
secondary
#50B264
accent
#DF6849
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #81256E

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

Preview Lab → · Contrast checker → · Palette generator →

#81256E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva