#812147#812147

#812147 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.4% C 0.134 H 0.9°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#812147
RGBrgb(129, 33, 71)
HSLhsl(336, 59%, 32%)
HSVhsv(336, 74%, 51%)
CMYKcmyk(0%, 74.4%, 45%, 49.4%)
CIE-LABlab(29.94, 43.68, 0.67)
CIE-LCHlch(29.94, 43.68, 0.87°)
OKLaboklab(41.35% 0.1339 0.0022)
OKLCHoklch(41.35% 0.134 0.9)
XYZxyz(10.7353, 6.2111, 6.5936)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812147 #21815B
analogous
#812177 #812147 #812B21
triadic
#812147 #478121 #214781
tetradic
#812147 #778121 #21815B #2B2181
square
#812147 #778121 #21815B #2B2181
split-complementary
#812147 #21812B #217781
monochromatic
#200811 #50152C #812147 #B22D62 #D14B80

Accessibility & contrast

On white

9.37
#812147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#812147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812147
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812147#FFFFFF#000000##FFFFFF
##8121471.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363B48
Deuteranopia (green-blind)
#504D45
Tritanopia (blue-blind)
#8C1231
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #812147;
/* rgb */ color: rgb(129, 33, 71);
/* oklch */ color: oklch(41.4% 0.134 0.9);
Tailwind
colors: {
  custom: {
    50: '#aa657a',
    500: '#812147',
    950: '#000000',
  },
}
SCSS
$custom: #812147;
$custom-light: #aa657a;
$custom-dark: #000000;
JSON
{
  "hex": "#812147",
  "rgb": {
    "r": 129,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 336.25,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41352,
    "c": 0.13392,
    "h": 0.9
  },
  "luminance": 0.0621
}

Semantic roles & 50–950 ramp

primary
#812147
secondary
#4AB48A
accent
#E2A445
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #812147

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

Preview Lab → · Contrast checker → · Palette generator →

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