#512C46#512C46

#512C46 is a dark, moderate pink. Relative luminance 0.040; OKLCH L 35.0% C 0.067 H 339.1°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#512C46
RGBrgb(81, 44, 70)
HSLhsl(318, 30%, 25%)
HSVhsv(318, 46%, 32%)
CMYKcmyk(0%, 45.7%, 13.6%, 68.2%)
CIE-LABlab(23.65, 21.31, -8.91)
CIE-LCHlch(23.65, 23.10, 337.31°)
OKLaboklab(35.03% 0.0622 -0.0238)
OKLCHoklch(35.03% 0.067 339.1)
XYZxyz(5.3995, 3.9932, 6.2795)
Luminance0.0399 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512C46 #2C5137
analogous
#4A2C51 #512C46 #512C34
triadic
#512C46 #46512C #2C4651
tetradic
#512C46 #514A2C #2C5137 #2C3451
square
#512C46 #514A2C #2C5137 #2C3451
split-complementary
#512C46 #34512C #2C514A
monochromatic
#140B11 #291624 #512C46 #794268 #A0578B

Accessibility & contrast

On white

11.68
#512C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#512C46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512C46
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512C46#FFFFFF#000000##FFFFFF
##512C461.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3547
Deuteranopia (green-blind)
#373A45
Tritanopia (blue-blind)
#552D36
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #512c46;
/* rgb */ color: rgb(81, 44, 70);
/* oklch */ color: oklch(35.0% 0.067 339.1);
Tailwind
colors: {
  custom: {
    50: '#836679',
    500: '#512c46',
    950: '#000000',
  },
}
SCSS
$custom: #512c46;
$custom-light: #836679;
$custom-dark: #000000;
JSON
{
  "hex": "#512c46",
  "rgb": {
    "r": 81,
    "g": 44,
    "b": 70
  },
  "hsl": {
    "h": 317.838,
    "s": 29.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.35031,
    "c": 0.06659,
    "h": 339.1
  },
  "luminance": 0.03993
}

Semantic roles & 50–950 ramp

primary
#512C46
secondary
#568363
accent
#C68062
background
#F8F6F7
surface
#EFEBED
border
#CAC6C8
text
#0B0609
muted
#7C7A7B

Preview Lab

Preview with #512C46

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

Preview Lab → · Contrast checker → · Palette generator →

#512C46 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva