#81225E#81225E

#81225E is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.144 H 346.2°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#81225E
RGBrgb(129, 34, 94)
HSLhsl(322, 58%, 32%)
HSVhsv(322, 74%, 51%)
CMYKcmyk(0%, 73.6%, 27.1%, 49.4%)
CIE-LABlab(30.93, 46.07, -12.95)
CIE-LCHlch(30.93, 47.86, 344.31°)
OKLaboklab(42.36% 0.1397 -0.0343)
OKLCHoklch(42.36% 0.144 346.2)
XYZxyz(11.6462, 6.6206, 11.2521)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81225E #228145
analogous
#752281 #81225E #81222F
triadic
#81225E #5E8122 #225E81
tetradic
#81225E #817522 #228145 #222F81
square
#81225E #817522 #228145 #222F81
split-complementary
#81225E #2F8122 #228175
monochromatic
#200817 #51153B #81225E #B12F81 #D04DA0

Accessibility & contrast

On white

9.04
#81225E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#81225E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81225E
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81225E#FFFFFF#000000##FFFFFF
##81225E1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3E60
Deuteranopia (green-blind)
#4A4F5C
Tritanopia (blue-blind)
#8A203D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #81225e;
/* rgb */ color: rgb(129, 34, 94);
/* oklch */ color: oklch(42.4% 0.144 346.2);
Tailwind
colors: {
  custom: {
    50: '#a9668b',
    500: '#81225e',
    950: '#000000',
  },
}
SCSS
$custom: #81225e;
$custom-light: #a9668b;
$custom-dark: #000000;
JSON
{
  "hex": "#81225e",
  "rgb": {
    "r": 129,
    "g": 34,
    "b": 94
  },
  "hsl": {
    "h": 322.105,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42356,
    "c": 0.14382,
    "h": 346.2
  },
  "luminance": 0.06619
}

Semantic roles & 50–950 ramp

primary
#81225E
secondary
#4BB372
accent
#E17F46
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #81225E

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

Preview Lab → · Contrast checker → · Palette generator →

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