#81275E#81275E

#81275E is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.9% C 0.137 H 346.8°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#81275E
RGBrgb(129, 39, 94)
HSLhsl(323, 54%, 33%)
HSVhsv(323, 70%, 51%)
CMYKcmyk(0%, 69.8%, 27.1%, 49.4%)
CIE-LABlab(31.64, 44.08, -11.86)
CIE-LCHlch(31.64, 45.64, 344.94°)
OKLaboklab(42.88% 0.1335 -0.0313)
OKLCHoklch(42.88% 0.137 346.8)
XYZxyz(11.7996, 6.9275, 11.3032)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81275E #27814A
analogous
#772781 #81275E #812731
triadic
#81275E #5E8127 #275E81
tetradic
#81275E #817727 #27814A #273181
square
#81275E #817727 #27814A #273181
split-complementary
#81275E #318127 #278177
monochromatic
#230B1A #52193C #81275E #B03580 #CC569E

Accessibility & contrast

On white

8.80
#81275E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#81275E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81275E
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81275E#FFFFFF#000000##FFFFFF
##81275E1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324160
Deuteranopia (green-blind)
#4C505C
Tritanopia (blue-blind)
#8A253F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #81275e;
/* rgb */ color: rgb(129, 39, 94);
/* oklch */ color: oklch(42.9% 0.137 346.8);
Tailwind
colors: {
  custom: {
    50: '#a9688b',
    500: '#81275e',
    950: '#000000',
  },
}
SCSS
$custom: #81275e;
$custom-light: #a9688b;
$custom-dark: #000000;
JSON
{
  "hex": "#81275e",
  "rgb": {
    "r": 129,
    "g": 39,
    "b": 94
  },
  "hsl": {
    "h": 323.333,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42878,
    "c": 0.13713,
    "h": 346.8
  },
  "luminance": 0.06926
}

Semantic roles & 50–950 ramp

primary
#81275E
secondary
#53B177
accent
#DD844B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #81275E

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

Preview Lab → · Contrast checker → · Palette generator →

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