#512643#512643

#512643 is a dark, moderate pink. Relative luminance 0.035; OKLCH L 33.8% C 0.076 H 341.1°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#512643
RGBrgb(81, 38, 67)
HSLhsl(320, 36%, 23%)
HSVhsv(320, 53%, 32%)
CMYKcmyk(0%, 53.1%, 17.3%, 68.2%)
CIE-LABlab(22.09, 24.39, -9.25)
CIE-LCHlch(22.09, 26.08, 339.24°)
OKLaboklab(33.82% 0.0719 -0.0247)
OKLCHoklch(33.82% 0.076 341.1)
XYZxyz(5.0996, 3.5412, 5.7240)
Luminance0.0354 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512643 #265134
analogous
#492651 #512643 #51262D
triadic
#512643 #435126 #264351
tetradic
#512643 #514926 #265134 #262D51
square
#512643 #514926 #265134 #262D51
split-complementary
#512643 #2D5126 #265149
monochromatic
#150A11 #271221 #512643 #7B3A65 #A44D88

Accessibility & contrast

On white

12.29
#512643 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#512643 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512643
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512643#FFFFFF#000000##FFFFFF
##5126431.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283144
Deuteranopia (green-blind)
#343742
Tritanopia (blue-blind)
#552731
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #512643;
/* rgb */ color: rgb(81, 38, 67);
/* oklch */ color: oklch(33.8% 0.076 341.1);
Tailwind
colors: {
  custom: {
    50: '#836277',
    500: '#512643',
    950: '#000000',
  },
}
SCSS
$custom: #512643;
$custom-light: #836277;
$custom-dark: #000000;
JSON
{
  "hex": "#512643",
  "rgb": {
    "r": 81,
    "g": 38,
    "b": 67
  },
  "hsl": {
    "h": 319.535,
    "s": 36.134,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33821,
    "c": 0.07606,
    "h": 341.1
  },
  "luminance": 0.03541
}

Semantic roles & 50–950 ramp

primary
#512643
secondary
#4F8460
accent
#CC805C
background
#F8F5F7
surface
#EFEAED
border
#CAC6C8
text
#0B0508
muted
#7C797B

Preview Lab

Preview with #512643

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

Preview Lab → · Contrast checker → · Palette generator →

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