#512F45#512F45

#512F45 is a dark, muted pink. Relative luminance 0.042; OKLCH L 35.6% C 0.059 H 341.4°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#512F45
RGBrgb(81, 47, 69)
HSLhsl(321, 27%, 25%)
HSVhsv(321, 42%, 32%)
CMYKcmyk(0%, 42%, 14.8%, 68.2%)
CIE-LABlab(24.36, 19.24, -7.16)
CIE-LCHlch(24.36, 20.53, 339.58°)
OKLaboklab(35.56% 0.0564 -0.019)
OKLCHoklch(35.56% 0.059 341.4)
XYZxyz(5.4841, 4.2123, 6.1533)
Luminance0.0421 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512F45 #2F513B
analogous
#4C2F51 #512F45 #512F34
triadic
#512F45 #45512F #2F4551
tetradic
#512F45 #514C2F #2F513B #2F3451
square
#512F45 #514C2F #2F513B #2F3451
split-complementary
#512F45 #34512F #2F514C
monochromatic
#130B10 #2A1924 #512F45 #784566 #9E5C87

Accessibility & contrast

On white

11.40
#512F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#512F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512F45
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512F45#FFFFFF#000000##FFFFFF
##512F451.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313746
Deuteranopia (green-blind)
#393C44
Tritanopia (blue-blind)
#552F37
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #512f45;
/* rgb */ color: rgb(81, 47, 69);
/* oklch */ color: oklch(35.6% 0.059 341.4);
Tailwind
colors: {
  custom: {
    50: '#836878',
    500: '#512f45',
    950: '#000000',
  },
}
SCSS
$custom: #512f45;
$custom-light: #836878;
$custom-dark: #000000;
JSON
{
  "hex": "#512f45",
  "rgb": {
    "r": 81,
    "g": 47,
    "b": 69
  },
  "hsl": {
    "h": 321.176,
    "s": 26.562,
    "l": 25.098
  },
  "oklch": {
    "l": 0.35556,
    "c": 0.05949,
    "h": 341.4
  },
  "luminance": 0.04212
}

Semantic roles & 50–950 ramp

primary
#512F45
secondary
#598268
accent
#C38665
background
#F8F6F7
surface
#EFEBED
border
#CAC6C8
text
#0A0609
muted
#7C7A7B

Preview Lab

Preview with #512F45

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

Preview Lab → · Contrast checker → · Palette generator →

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