#812451#812451

#812451 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.0% C 0.134 H 354.8°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#812451
RGBrgb(129, 36, 81)
HSLhsl(331, 56%, 32%)
HSVhsv(331, 72%, 51%)
CMYKcmyk(0%, 72.1%, 37.2%, 49.4%)
CIE-LABlab(30.70, 43.62, -4.81)
CIE-LCHlch(30.70, 43.89, 353.71°)
OKLaboklab(42.02% 0.1336 -0.0121)
OKLCHoklch(42.02% 0.134 354.8)
XYZxyz(11.1700, 6.5243, 8.4541)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812451 #248154
analogous
#812480 #812451 #812624
triadic
#812451 #518124 #245181
tetradic
#812451 #808124 #248154 #262481
square
#812451 #808124 #248154 #262481
split-complementary
#812451 #248126 #248081
monochromatic
#210915 #511733 #812451 #B1316F #CE518E

Accessibility & contrast

On white

9.11
#812451 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#812451 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812451
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812451#FFFFFF#000000##FFFFFF
##8124511.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353D52
Deuteranopia (green-blind)
#4E4F4F
Tritanopia (blue-blind)
#8B1C37
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #812451;
/* rgb */ color: rgb(129, 36, 81);
/* oklch */ color: oklch(42.0% 0.134 354.8);
Tailwind
colors: {
  custom: {
    50: '#a96781',
    500: '#812451',
    950: '#000000',
  },
}
SCSS
$custom: #812451;
$custom-light: #a96781;
$custom-dark: #000000;
JSON
{
  "hex": "#812451",
  "rgb": {
    "r": 129,
    "g": 36,
    "b": 81
  },
  "hsl": {
    "h": 330.968,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42022,
    "c": 0.13415,
    "h": 354.8
  },
  "luminance": 0.06523
}

Semantic roles & 50–950 ramp

primary
#812451
secondary
#4EB282
accent
#E09648
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #812451

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

Preview Lab → · Contrast checker → · Palette generator →

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