#81246E#81246E

#81246E is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.3% C 0.152 H 337.2°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#81246E
RGBrgb(129, 36, 110)
HSLhsl(312, 56%, 32%)
HSVhsv(312, 72%, 51%)
CMYKcmyk(0%, 72.1%, 14.7%, 49.4%)
CIE-LABlab(31.93, 47.65, -21.68)
CIE-LCHlch(31.93, 52.35, 335.54°)
OKLaboklab(43.33% 0.1403 -0.0589)
OKLCHoklch(43.33% 0.152 337.2)
XYZxyz(12.4988, 7.0558, 15.4525)
Luminance0.0706 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81246E #248137
analogous
#662481 #81246E #812440
triadic
#81246E #6E8124 #246E81
tetradic
#81246E #816624 #248137 #244081
square
#81246E #816624 #248137 #244081
split-complementary
#81246E #408124 #248166
monochromatic
#21091C #511745 #81246E #B13197 #CE51B5

Accessibility & contrast

On white

8.71
#81246E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#81246E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81246E
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81246E#FFFFFF#000000##FFFFFF
##81246E1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274270
Deuteranopia (green-blind)
#45506C
Tritanopia (blue-blind)
#882946
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #81246e;
/* rgb */ color: rgb(129, 36, 110);
/* oklch */ color: oklch(43.3% 0.152 337.2);
Tailwind
colors: {
  custom: {
    50: '#a96898',
    500: '#81246e',
    950: '#000000',
  },
}
SCSS
$custom: #81246e;
$custom-light: #a96898;
$custom-dark: #000000;
JSON
{
  "hex": "#81246e",
  "rgb": {
    "r": 129,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 312.258,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43328,
    "c": 0.15216,
    "h": 337.2
  },
  "luminance": 0.07055
}

Semantic roles & 50–950 ramp

primary
#81246E
secondary
#4EB263
accent
#E06748
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #81246E

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

Preview Lab → · Contrast checker → · Palette generator →

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