#812957#812957

#812957 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.8% C 0.130 H 351.7°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#812957
RGBrgb(129, 41, 87)
HSLhsl(329, 52%, 33%)
HSVhsv(329, 68%, 51%)
CMYKcmyk(0%, 68.2%, 32.6%, 49.4%)
CIE-LABlab(31.68, 42.28, -7.27)
CIE-LCHlch(31.68, 42.90, 350.25°)
OKLaboklab(42.81% 0.1289 -0.0188)
OKLCHoklch(42.81% 0.13 351.7)
XYZxyz(11.5671, 6.9424, 9.7458)
Luminance0.0694 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812957 #298153
analogous
#7F2981 #812957 #81292B
triadic
#812957 #578129 #295781
tetradic
#812957 #817F29 #298153 #292B81
square
#812957 #817F29 #298153 #292B81
split-complementary
#812957 #2B8129 #29817F
monochromatic
#240B18 #531A38 #812957 #AF3876 #CB5A95

Accessibility & contrast

On white

8.79
#812957 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#812957 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812957
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812957#FFFFFF#000000##FFFFFF
##8129571.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364058
Deuteranopia (green-blind)
#4F5055
Tritanopia (blue-blind)
#8B243C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #812957;
/* rgb */ color: rgb(129, 41, 87);
/* oklch */ color: oklch(42.8% 0.130 351.7);
Tailwind
colors: {
  custom: {
    50: '#a96986',
    500: '#812957',
    950: '#000000',
  },
}
SCSS
$custom: #812957;
$custom-light: #a96986;
$custom-dark: #000000;
JSON
{
  "hex": "#812957",
  "rgb": {
    "r": 129,
    "g": 41,
    "b": 87
  },
  "hsl": {
    "h": 328.636,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42813,
    "c": 0.13027,
    "h": 351.7
  },
  "luminance": 0.06941
}

Semantic roles & 50–950 ramp

primary
#812957
secondary
#56B081
accent
#DB914D
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #812957

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

Preview Lab → · Contrast checker → · Palette generator →

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