#812351#812351

#812351 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 41.9% C 0.135 H 354.6°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#812351
RGBrgb(129, 35, 81)
HSLhsl(331, 57%, 32%)
HSVhsv(331, 73%, 51%)
CMYKcmyk(0%, 72.9%, 37.2%, 49.4%)
CIE-LABlab(30.56, 44.02, -5.02)
CIE-LCHlch(30.56, 44.31, 353.49°)
OKLaboklab(41.92% 0.1349 -0.0127)
OKLCHoklch(41.92% 0.135 354.6)
XYZxyz(11.1402, 6.4646, 8.4441)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812351 #238153
analogous
#812380 #812351 #812423
triadic
#812351 #518123 #235181
tetradic
#812351 #808123 #238153 #242381
square
#812351 #808123 #238153 #242381
split-complementary
#812351 #238124 #238081
monochromatic
#210915 #511633 #812351 #B1306F #CF4F8E

Accessibility & contrast

On white

9.16
#812351 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#812351 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812351
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812351#FFFFFF#000000##FFFFFF
##8123511.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343D52
Deuteranopia (green-blind)
#4E4E4F
Tritanopia (blue-blind)
#8B1A37
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #812351;
/* rgb */ color: rgb(129, 35, 81);
/* oklch */ color: oklch(41.9% 0.135 354.6);
Tailwind
colors: {
  custom: {
    50: '#aa6681',
    500: '#812351',
    950: '#000000',
  },
}
SCSS
$custom: #812351;
$custom-light: #aa6681;
$custom-dark: #000000;
JSON
{
  "hex": "#812351",
  "rgb": {
    "r": 129,
    "g": 35,
    "b": 81
  },
  "hsl": {
    "h": 330.638,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41917,
    "c": 0.13546,
    "h": 354.6
  },
  "luminance": 0.06463
}

Semantic roles & 50–950 ramp

primary
#812351
secondary
#4DB381
accent
#E19647
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #812351

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

Preview Lab → · Contrast checker → · Palette generator →

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