#812142#812142

#812142 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.132 H 4.4°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#812142
RGBrgb(129, 33, 66)
HSLhsl(339, 59%, 32%)
HSVhsv(339, 74%, 51%)
CMYKcmyk(0%, 74.4%, 48.8%, 49.4%)
CIE-LABlab(29.79, 43.17, 3.76)
CIE-LCHlch(29.79, 43.34, 4.98°)
OKLaboklab(41.19% 0.132 0.0101)
OKLCHoklch(41.19% 0.132 4.4)
XYZxyz(10.5813, 6.1496, 5.7830)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812142 #218160
analogous
#812172 #812142 #813021
triadic
#812142 #428121 #214281
tetradic
#812142 #728121 #218160 #302181
square
#812142 #728121 #218160 #302181
split-complementary
#812142 #218130 #217281
monochromatic
#200810 #501529 #812142 #B22D5B #D14B79

Accessibility & contrast

On white

9.42
#812142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#812142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812142
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812142#FFFFFF#000000##FFFFFF
##8121421.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373A43
Deuteranopia (green-blind)
#514D40
Tritanopia (blue-blind)
#8D102F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #812142;
/* rgb */ color: rgb(129, 33, 66);
/* oklch */ color: oklch(41.2% 0.132 4.4);
Tailwind
colors: {
  custom: {
    50: '#aa6576',
    500: '#812142',
    950: '#000000',
  },
}
SCSS
$custom: #812142;
$custom-light: #aa6576;
$custom-dark: #000000;
JSON
{
  "hex": "#812142",
  "rgb": {
    "r": 129,
    "g": 33,
    "b": 66
  },
  "hsl": {
    "h": 339.375,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4119,
    "c": 0.13239,
    "h": 4.4
  },
  "luminance": 0.06148
}

Semantic roles & 50–950 ramp

primary
#812142
secondary
#4AB48F
accent
#E2AC45
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #812142

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

Preview Lab → · Contrast checker → · Palette generator →

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