#812958#812958

#812958 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 42.9% C 0.131 H 351.0°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#812958
RGBrgb(129, 41, 88)
HSLhsl(328, 52%, 33%)
HSVhsv(328, 68%, 51%)
CMYKcmyk(0%, 68.2%, 31.8%, 49.4%)
CIE-LABlab(31.71, 42.41, -7.86)
CIE-LCHlch(31.71, 43.14, 349.50°)
OKLaboklab(42.85% 0.1292 -0.0204)
OKLCHoklch(42.85% 0.131 351)
XYZxyz(11.6082, 6.9588, 9.9625)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812958 #298152
analogous
#7E2981 #812958 #81292C
triadic
#812958 #588129 #295881
tetradic
#812958 #817E29 #298152 #292C81
square
#812958 #817E29 #298152 #292C81
split-complementary
#812958 #2C8129 #29817E
monochromatic
#240B19 #531A38 #812958 #AF3878 #CB5A96

Accessibility & contrast

On white

8.78
#812958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #812958
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812958#FFFFFF#000000##FFFFFF
##8129581.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364159
Deuteranopia (green-blind)
#4F5056
Tritanopia (blue-blind)
#8B243D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #812958;
/* rgb */ color: rgb(129, 41, 88);
/* oklch */ color: oklch(42.9% 0.131 351.0);
Tailwind
colors: {
  custom: {
    50: '#a96987',
    500: '#812958',
    950: '#000000',
  },
}
SCSS
$custom: #812958;
$custom-light: #a96987;
$custom-dark: #000000;
JSON
{
  "hex": "#812958",
  "rgb": {
    "r": 129,
    "g": 41,
    "b": 88
  },
  "hsl": {
    "h": 327.955,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42853,
    "c": 0.13081,
    "h": 351
  },
  "luminance": 0.06958
}

Semantic roles & 50–950 ramp

primary
#812958
secondary
#56B080
accent
#DB8F4D
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #812958

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

Preview Lab → · Contrast checker → · Palette generator →

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