#81256D#81256D

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

Color values

HEX#81256D
RGBrgb(129, 37, 109)
HSLhsl(313, 55%, 33%)
HSVhsv(313, 71%, 51%)
CMYKcmyk(0%, 71.3%, 15.5%, 49.4%)
CIE-LABlab(32.02, 47.11, -20.90)
CIE-LCHlch(32.02, 51.53, 336.07°)
OKLaboklab(43.38% 0.139 -0.0567)
OKLCHoklch(43.38% 0.15 337.8)
XYZxyz(12.4754, 7.0955, 15.1776)
Luminance0.0709 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81256D #258139
analogous
#672581 #81256D #81253F
triadic
#81256D #6D8125 #256D81
tetradic
#81256D #816725 #258139 #253F81
square
#81256D #816725 #258139 #253F81
split-complementary
#81256D #3F8125 #258167
monochromatic
#220A1D #511745 #81256D #B13395 #CE53B3

Accessibility & contrast

On white

8.68
#81256D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #81256D
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81256D#FFFFFF#000000##FFFFFF
##81256D1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28426F
Deuteranopia (green-blind)
#46506B
Tritanopia (blue-blind)
#882945
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #81256d;
/* rgb */ color: rgb(129, 37, 109);
/* oklch */ color: oklch(43.4% 0.150 337.8);
Tailwind
colors: {
  custom: {
    50: '#a96897',
    500: '#81256d',
    950: '#000000',
  },
}
SCSS
$custom: #81256d;
$custom-light: #a96897;
$custom-dark: #000000;
JSON
{
  "hex": "#81256d",
  "rgb": {
    "r": 129,
    "g": 37,
    "b": 109
  },
  "hsl": {
    "h": 313.043,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43377,
    "c": 0.15012,
    "h": 337.8
  },
  "luminance": 0.07094
}

Semantic roles & 50–950 ramp

primary
#81256D
secondary
#50B265
accent
#DF6A49
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #81256D

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

Preview Lab → · Contrast checker → · Palette generator →

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