#511C2C#511C2C

#511C2C is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.3% C 0.081 H 4.2°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#511C2C
RGBrgb(81, 28, 44)
HSLhsl(342, 49%, 21%)
HSVhsv(342, 65%, 32%)
CMYKcmyk(0%, 65.4%, 45.7%, 68.2%)
CIE-LABlab(19.07, 26.51, 2.20)
CIE-LCHlch(19.07, 26.60, 4.74°)
OKLaboklab(31.27% 0.0808 0.006)
OKLCHoklch(31.27% 0.081 4.2)
XYZxyz(4.2635, 2.7622, 2.6910)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C2C #1C5141
analogous
#511C47 #511C2C #51271C
triadic
#511C2C #2C511C #1C2C51
tetradic
#511C2C #47511C #1C5141 #271C51
square
#511C2C #47511C #1C5141 #271C51
split-complementary
#511C2C #1C5127 #1C4751
monochromatic
#17080C #240C13 #511C2C #7E2C45 #AC3B5D

Accessibility & contrast

On white

13.53
#511C2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#511C2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511C2C
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C2C#FFFFFF#000000##FFFFFF
##511C2C1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26282C
Deuteranopia (green-blind)
#34322B
Tritanopia (blue-blind)
#581622
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511c2c;
/* rgb */ color: rgb(81, 28, 44);
/* oklch */ color: oklch(31.3% 0.081 4.2);
Tailwind
colors: {
  custom: {
    50: '#855b64',
    500: '#511c2c',
    950: '#000000',
  },
}
SCSS
$custom: #511c2c;
$custom-light: #855b64;
$custom-dark: #000000;
JSON
{
  "hex": "#511c2c",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 44
  },
  "hsl": {
    "h": 341.887,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31274,
    "c": 0.08104,
    "h": 4.2
  },
  "luminance": 0.02762
}

Semantic roles & 50–950 ramp

primary
#511C2C
secondary
#428772
accent
#D8AF50
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0405
muted
#7C797A

Preview Lab

Preview with #511C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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