#81256F#81256F

#81256F is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.5% C 0.152 H 336.7°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#81256F
RGBrgb(129, 37, 111)
HSLhsl(312, 55%, 33%)
HSVhsv(312, 71%, 51%)
CMYKcmyk(0%, 71.3%, 14%, 49.4%)
CIE-LABlab(32.12, 47.42, -22.02)
CIE-LCHlch(32.12, 52.28, 335.09°)
OKLaboklab(43.48% 0.1393 -0.0599)
OKLCHoklch(43.48% 0.152 336.7)
XYZxyz(12.5843, 7.1391, 15.7511)
Luminance0.0714 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81256F #258137
analogous
#652581 #81256F #812541
triadic
#81256F #6F8125 #256F81
tetradic
#81256F #816525 #258137 #254181
square
#81256F #816525 #258137 #254181
split-complementary
#81256F #418125 #258165
monochromatic
#220A1D #511746 #81256F #B13398 #CE53B6

Accessibility & contrast

On white

8.65
#81256F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#81256F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81256F
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81256F#FFFFFF#000000##FFFFFF
##81256F1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274371
Deuteranopia (green-blind)
#45516D
Tritanopia (blue-blind)
#882A47
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #81256f;
/* rgb */ color: rgb(129, 37, 111);
/* oklch */ color: oklch(43.5% 0.152 336.7);
Tailwind
colors: {
  custom: {
    50: '#a96898',
    500: '#81256f',
    950: '#000000',
  },
}
SCSS
$custom: #81256f;
$custom-light: #a96898;
$custom-dark: #000000;
JSON
{
  "hex": "#81256f",
  "rgb": {
    "r": 129,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 311.739,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4348,
    "c": 0.15161,
    "h": 336.7
  },
  "luminance": 0.07138
}

Semantic roles & 50–950 ramp

primary
#81256F
secondary
#50B263
accent
#DF6649
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #81256F

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

Preview Lab → · Contrast checker → · Palette generator →

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