#511C3C#511C3C

#511C3C is a dark, moderate pink. Relative luminance 0.029; OKLCH L 31.9% C 0.089 H 346.1°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#511C3C
RGBrgb(81, 28, 60)
HSLhsl(324, 49%, 21%)
HSVhsv(324, 65%, 32%)
CMYKcmyk(0%, 65.4%, 25.9%, 68.2%)
CIE-LABlab(19.67, 28.80, -8.12)
CIE-LCHlch(19.67, 29.93, 344.25°)
OKLaboklab(31.92% 0.0867 -0.0215)
OKLCHoklch(31.92% 0.089 346.1)
XYZxyz(4.6244, 2.9065, 4.5916)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C3C #1C5131
analogous
#4C1C51 #511C3C #511C22
triadic
#511C3C #3C511C #1C3C51
tetradic
#511C3C #514C1C #1C5131 #1C2251
square
#511C3C #514C1C #1C5131 #1C2251
split-complementary
#511C3C #22511C #1C514C
monochromatic
#170811 #240C1A #511C3C #7E2C5E #AC3B7F

Accessibility & contrast

On white

13.28
#511C3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#511C3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511C3C
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C3C#FFFFFF#000000##FFFFFF
##511C3C1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212A3D
Deuteranopia (green-blind)
#30333B
Tritanopia (blue-blind)
#571B29
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511c3c;
/* rgb */ color: rgb(81, 28, 60);
/* oklch */ color: oklch(31.9% 0.089 346.1);
Tailwind
colors: {
  custom: {
    50: '#845c71',
    500: '#511c3c',
    950: '#000000',
  },
}
SCSS
$custom: #511c3c;
$custom-light: #845c71;
$custom-dark: #000000;
JSON
{
  "hex": "#511c3c",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 60
  },
  "hsl": {
    "h": 323.774,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31917,
    "c": 0.08931,
    "h": 346.1
  },
  "luminance": 0.02906
}

Semantic roles & 50–950 ramp

primary
#511C3C
secondary
#42875D
accent
#D88650
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #511C3C

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

Preview Lab → · Contrast checker → · Palette generator →

#511C3C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva