#812042#812042

#812042 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.1% C 0.134 H 4.1°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#812042
RGBrgb(129, 32, 66)
HSLhsl(339, 60%, 32%)
HSVhsv(339, 75%, 51%)
CMYKcmyk(0%, 75.2%, 48.8%, 49.4%)
CIE-LABlab(29.65, 43.55, 3.57)
CIE-LCHlch(29.65, 43.70, 4.68°)
OKLaboklab(41.09% 0.1332 0.0096)
OKLCHoklch(41.09% 0.134 4.1)
XYZxyz(10.5540, 6.0949, 5.7739)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812042 #20815F
analogous
#812073 #812042 #812F20
triadic
#812042 #428120 #204281
tetradic
#812042 #738120 #20815F #2F2081
square
#812042 #738120 #20815F #2F2081
split-complementary
#812042 #20812F #207381
monochromatic
#1F0810 #501429 #812042 #B22C5B #D24979

Accessibility & contrast

On white

9.47
#812042 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#812042 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812042
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812042#FFFFFF#000000##FFFFFF
##8120421.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363A43
Deuteranopia (green-blind)
#504D40
Tritanopia (blue-blind)
#8D0E2E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #812042;
/* rgb */ color: rgb(129, 32, 66);
/* oklch */ color: oklch(41.1% 0.134 4.1);
Tailwind
colors: {
  custom: {
    50: '#aa6476',
    500: '#812042',
    950: '#000000',
  },
}
SCSS
$custom: #812042;
$custom-light: #aa6476;
$custom-dark: #000000;
JSON
{
  "hex": "#812042",
  "rgb": {
    "r": 129,
    "g": 32,
    "b": 66
  },
  "hsl": {
    "h": 338.969,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41089,
    "c": 0.13357,
    "h": 4.1
  },
  "luminance": 0.06093
}

Semantic roles & 50–950 ramp

primary
#812042
secondary
#49B48E
accent
#E3AC44
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #812042

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

Preview Lab → · Contrast checker → · Palette generator →

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