#512F3E#512F3E

#512F3E is a dark, muted pink. Relative luminance 0.041; OKLCH L 35.3% C 0.054 H 352.3°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#512F3E
RGBrgb(81, 47, 62)
HSLhsl(334, 27%, 25%)
HSVhsv(334, 42%, 32%)
CMYKcmyk(0%, 42%, 23.5%, 68.2%)
CIE-LABlab(24.10, 17.94, -2.84)
CIE-LCHlch(24.10, 18.16, 350.99°)
OKLaboklab(35.27% 0.0537 -0.0073)
OKLCHoklch(35.27% 0.054 352.3)
XYZxyz(5.2795, 4.1305, 5.0757)
Luminance0.0413 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512F3E #2F5142
analogous
#512F4F #512F3E #51312F
triadic
#512F3E #3E512F #2F3E51
tetradic
#512F3E #4F512F #2F5142 #312F51
square
#512F3E #4F512F #2F5142 #312F51
split-complementary
#512F3E #2F5131 #2F4F51
monochromatic
#130B0F #2A1920 #512F3E #78455C #9E5C79

Accessibility & contrast

On white

11.50
#512F3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#512F3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512F3E
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512F3E#FFFFFF#000000##FFFFFF
##512F3E1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33363F
Deuteranopia (green-blind)
#3B3B3D
Tritanopia (blue-blind)
#562E34
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #512f3e;
/* rgb */ color: rgb(81, 47, 62);
/* oklch */ color: oklch(35.3% 0.054 352.3);
Tailwind
colors: {
  custom: {
    50: '#836873',
    500: '#512f3e',
    950: '#000000',
  },
}
SCSS
$custom: #512f3e;
$custom-light: #836873;
$custom-dark: #000000;
JSON
{
  "hex": "#512f3e",
  "rgb": {
    "r": 81,
    "g": 47,
    "b": 62
  },
  "hsl": {
    "h": 333.529,
    "s": 26.562,
    "l": 25.098
  },
  "oklch": {
    "l": 0.35269,
    "c": 0.05418,
    "h": 352.3
  },
  "luminance": 0.0413
}

Semantic roles & 50–950 ramp

primary
#512F3E
secondary
#598270
accent
#C39965
background
#F8F6F6
surface
#EFEBEC
border
#CAC6C7
text
#0B0608
muted
#7C7A7B

Preview Lab

Preview with #512F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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