#812157#812157

#812157 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.141 H 350.4°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#812157
RGBrgb(129, 33, 87)
HSLhsl(326, 59%, 32%)
HSVhsv(326, 74%, 51%)
CMYKcmyk(0%, 74.4%, 32.6%, 49.4%)
CIE-LABlab(30.51, 45.53, -9.03)
CIE-LCHlch(30.51, 46.41, 348.79°)
OKLaboklab(41.96% 0.1391 -0.0235)
OKLCHoklch(41.96% 0.141 350.4)
XYZxyz(11.3180, 6.4442, 9.6628)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812157 #21814B
analogous
#7B2181 #812157 #812127
triadic
#812157 #578121 #215781
tetradic
#812157 #817B21 #21814B #212781
square
#812157 #817B21 #21814B #212781
split-complementary
#812157 #278121 #21817B
monochromatic
#200815 #501536 #812157 #B22D78 #D14B97

Accessibility & contrast

On white

9.18
#812157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#812157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812157
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812157#FFFFFF#000000##FFFFFF
##8121571.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303D58
Deuteranopia (green-blind)
#4C4E55
Tritanopia (blue-blind)
#8B1B39
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #812157;
/* rgb */ color: rgb(129, 33, 87);
/* oklch */ color: oklch(42.0% 0.141 350.4);
Tailwind
colors: {
  custom: {
    50: '#a96586',
    500: '#812157',
    950: '#000000',
  },
}
SCSS
$custom: #812157;
$custom-light: #a96586;
$custom-dark: #000000;
JSON
{
  "hex": "#812157",
  "rgb": {
    "r": 129,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 326.25,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41955,
    "c": 0.14103,
    "h": 350.4
  },
  "luminance": 0.06443
}

Semantic roles & 50–950 ramp

primary
#812157
secondary
#4AB478
accent
#E28A45
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #812157

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

Preview Lab → · Contrast checker → · Palette generator →

#812157 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva