#81215F#81215F

#81215F is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.146 H 345.5°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#81215F
RGBrgb(129, 33, 95)
HSLhsl(321, 59%, 32%)
HSVhsv(321, 74%, 51%)
CMYKcmyk(0%, 74.4%, 26.4%, 49.4%)
CIE-LABlab(30.84, 46.58, -13.73)
CIE-LCHlch(30.84, 48.56, 343.57°)
OKLaboklab(42.3% 0.1411 -0.0365)
OKLCHoklch(42.3% 0.146 345.5)
XYZxyz(11.6632, 6.5823, 11.4805)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81215F #218143
analogous
#732181 #81215F #81212F
triadic
#81215F #5F8121 #215F81
tetradic
#81215F #817321 #218143 #212F81
square
#81215F #817321 #218143 #212F81
split-complementary
#81215F #2F8121 #218173
monochromatic
#200817 #50153B #81215F #B22D83 #D14BA2

Accessibility & contrast

On white

9.07
#81215F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#81215F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81215F
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81215F#FFFFFF#000000##FFFFFF
##81215F1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3E61
Deuteranopia (green-blind)
#4A4E5D
Tritanopia (blue-blind)
#8A1F3D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #81215f;
/* rgb */ color: rgb(129, 33, 95);
/* oklch */ color: oklch(42.3% 0.146 345.5);
Tailwind
colors: {
  custom: {
    50: '#a9668c',
    500: '#81215f',
    950: '#000000',
  },
}
SCSS
$custom: #81215f;
$custom-light: #a9668c;
$custom-dark: #000000;
JSON
{
  "hex": "#81215f",
  "rgb": {
    "r": 129,
    "g": 33,
    "b": 95
  },
  "hsl": {
    "h": 321.25,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42304,
    "c": 0.1457,
    "h": 345.5
  },
  "luminance": 0.06581
}

Semantic roles & 50–950 ramp

primary
#81215F
secondary
#4AB470
accent
#E27D45
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #81215F

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

Preview Lab → · Contrast checker → · Palette generator →

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