#812845#812845

#812845 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.1% C 0.124 H 4.2°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#812845
RGBrgb(129, 40, 69)
HSLhsl(340, 53%, 33%)
HSVhsv(340, 69%, 51%)
CMYKcmyk(0%, 69%, 46.5%, 49.4%)
CIE-LABlab(30.92, 40.60, 3.40)
CIE-LCHlch(30.92, 40.74, 4.79°)
OKLaboklab(42.05% 0.124 0.0092)
OKLCHoklch(42.05% 0.124 4.2)
XYZxyz(10.8870, 6.6157, 6.3327)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812845 #288164
analogous
#812871 #812845 #813728
triadic
#812845 #458128 #284581
tetradic
#812845 #718128 #288164 #372881
square
#812845 #718128 #288164 #372881
split-complementary
#812845 #288137 #287181
monochromatic
#240B13 #521A2C #812845 #B0365E #CB587E

Accessibility & contrast

On white

9.04
#812845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#812845 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812845
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812845#FFFFFF#000000##FFFFFF
##8128451.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3E46
Deuteranopia (green-blind)
#524F43
Tritanopia (blue-blind)
#8C1C34
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #812845;
/* rgb */ color: rgb(129, 40, 69);
/* oklch */ color: oklch(42.1% 0.124 4.2);
Tailwind
colors: {
  custom: {
    50: '#aa6878',
    500: '#812845',
    950: '#000000',
  },
}
SCSS
$custom: #812845;
$custom-light: #aa6878;
$custom-dark: #000000;
JSON
{
  "hex": "#812845",
  "rgb": {
    "r": 129,
    "g": 40,
    "b": 69
  },
  "hsl": {
    "h": 340.449,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42054,
    "c": 0.12435,
    "h": 4.2
  },
  "luminance": 0.06614
}

Semantic roles & 50–950 ramp

primary
#812845
secondary
#54B092
accent
#DCAD4C
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #812845

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

Preview Lab → · Contrast checker → · Palette generator →

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