#812951#812951

#812951 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.6% C 0.127 H 355.9°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#812951
RGBrgb(129, 41, 81)
HSLhsl(333, 52%, 33%)
HSVhsv(333, 68%, 51%)
CMYKcmyk(0%, 68.2%, 37.2%, 49.4%)
CIE-LABlab(31.46, 41.52, -3.68)
CIE-LCHlch(31.46, 41.69, 354.94°)
OKLaboklab(42.58% 0.127 -0.0092)
OKLCHoklch(42.58% 0.127 355.9)
XYZxyz(11.3321, 6.8484, 8.5081)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812951 #298159
analogous
#81297D #812951 #812D29
triadic
#812951 #518129 #295181
tetradic
#812951 #7D8129 #298159 #2D2981
square
#812951 #7D8129 #298159 #2D2981
split-complementary
#812951 #29812D #297D81
monochromatic
#240B17 #531A34 #812951 #AF386E #CB5A8D

Accessibility & contrast

On white

8.86
#812951 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#812951 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812951
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812951#FFFFFF#000000##FFFFFF
##8129511.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384052
Deuteranopia (green-blind)
#50504F
Tritanopia (blue-blind)
#8B2139
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #812951;
/* rgb */ color: rgb(129, 41, 81);
/* oklch */ color: oklch(42.6% 0.127 355.9);
Tailwind
colors: {
  custom: {
    50: '#a96981',
    500: '#812951',
    950: '#000000',
  },
}
SCSS
$custom: #812951;
$custom-light: #a96981;
$custom-dark: #000000;
JSON
{
  "hex": "#812951",
  "rgb": {
    "r": 129,
    "g": 41,
    "b": 81
  },
  "hsl": {
    "h": 332.727,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42583,
    "c": 0.12732,
    "h": 355.9
  },
  "luminance": 0.06847
}

Semantic roles & 50–950 ramp

primary
#812951
secondary
#56B087
accent
#DB9A4D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #812951

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

Preview Lab → · Contrast checker → · Palette generator →

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