#812146#812146

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

Color values

HEX#812146
RGBrgb(129, 33, 70)
HSLhsl(337, 59%, 32%)
HSVhsv(337, 74%, 51%)
CMYKcmyk(0%, 74.4%, 45.7%, 49.4%)
CIE-LABlab(29.91, 43.57, 1.28)
CIE-LCHlch(29.91, 43.59, 1.69°)
OKLaboklab(41.32% 0.1335 0.0038)
OKLCHoklch(41.32% 0.134 1.6)
XYZxyz(10.7034, 6.1984, 6.4259)
Luminance0.0620 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812146 #21815C
analogous
#812176 #812146 #812C21
triadic
#812146 #468121 #214681
tetradic
#812146 #768121 #21815C #2C2181
square
#812146 #768121 #21815C #2C2181
split-complementary
#812146 #21812C #217681
monochromatic
#200811 #50152C #812146 #B22D60 #D14B7F

Accessibility & contrast

On white

9.38
#812146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #812146
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812146#FFFFFF#000000##FFFFFF
##8121461.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #812146;
/* rgb */ color: rgb(129, 33, 70);
/* oklch */ color: oklch(41.3% 0.134 1.6);
Tailwind
colors: {
  custom: {
    50: '#aa6579',
    500: '#812146',
    950: '#000000',
  },
}
SCSS
$custom: #812146;
$custom-light: #aa6579;
$custom-dark: #000000;
JSON
{
  "hex": "#812146",
  "rgb": {
    "r": 129,
    "g": 33,
    "b": 70
  },
  "hsl": {
    "h": 336.875,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41319,
    "c": 0.13358,
    "h": 1.6
  },
  "luminance": 0.06197
}

Semantic roles & 50–950 ramp

primary
#812146
secondary
#4AB48B
accent
#E2A645
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #812146

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

Preview Lab → · Contrast checker → · Palette generator →

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