#81245F#81245F

#81245F is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.6% C 0.142 H 345.8°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#81245F
RGBrgb(129, 36, 95)
HSLhsl(322, 56%, 32%)
HSVhsv(322, 72%, 51%)
CMYKcmyk(0%, 72.1%, 26.4%, 49.4%)
CIE-LABlab(31.25, 45.44, -13.11)
CIE-LCHlch(31.25, 47.29, 343.91°)
OKLaboklab(42.6% 0.1375 -0.0348)
OKLCHoklch(42.6% 0.142 345.8)
XYZxyz(11.7502, 6.7563, 11.5095)
Luminance0.0675 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81245F #248146
analogous
#742481 #81245F #812431
triadic
#81245F #5F8124 #245F81
tetradic
#81245F #817424 #248146 #243181
square
#81245F #817424 #248146 #243181
split-complementary
#81245F #318124 #248174
monochromatic
#210919 #51173C #81245F #B13182 #CE51A1

Accessibility & contrast

On white

8.93
#81245F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#81245F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81245F
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81245F#FFFFFF#000000##FFFFFF
##81245F1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3F61
Deuteranopia (green-blind)
#4B4F5D
Tritanopia (blue-blind)
#8A223E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #81245f;
/* rgb */ color: rgb(129, 36, 95);
/* oklch */ color: oklch(42.6% 0.142 345.8);
Tailwind
colors: {
  custom: {
    50: '#a9678c',
    500: '#81245f',
    950: '#000000',
  },
}
SCSS
$custom: #81245f;
$custom-light: #a9678c;
$custom-dark: #000000;
JSON
{
  "hex": "#81245f",
  "rgb": {
    "r": 129,
    "g": 36,
    "b": 95
  },
  "hsl": {
    "h": 321.935,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42602,
    "c": 0.14184,
    "h": 345.8
  },
  "luminance": 0.06755
}

Semantic roles & 50–950 ramp

primary
#81245F
secondary
#4EB273
accent
#E08048
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #81245F

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

Preview Lab → · Contrast checker → · Palette generator →

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