#511C30#511C30

#511C30 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.4% C 0.082 H 359.5°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#511C30
RGBrgb(81, 28, 48)
HSLhsl(337, 49%, 21%)
HSVhsv(337, 65%, 32%)
CMYKcmyk(0%, 65.4%, 40.7%, 68.2%)
CIE-LABlab(19.20, 27.03, -0.43)
CIE-LCHlch(19.20, 27.03, 359.10°)
OKLaboklab(31.42% 0.0825 -0.0008)
OKLCHoklch(31.42% 0.082 359.5)
XYZxyz(4.3423, 2.7937, 3.1063)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C30 #1C513D
analogous
#511C4B #511C30 #51231C
triadic
#511C30 #30511C #1C3051
tetradic
#511C30 #4B511C #1C513D #231C51
square
#511C30 #4B511C #1C513D #231C51
split-complementary
#511C30 #1C5123 #1C4B51
monochromatic
#17080D #240C15 #511C30 #7E2C4B #AC3B66

Accessibility & contrast

On white

13.47
#511C30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#511C30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511C30
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C30#FFFFFF#000000##FFFFFF
##511C301.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252831
Deuteranopia (green-blind)
#33322F
Tritanopia (blue-blind)
#581724
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511c30;
/* rgb */ color: rgb(81, 28, 48);
/* oklch */ color: oklch(31.4% 0.082 359.5);
Tailwind
colors: {
  custom: {
    50: '#845b68',
    500: '#511c30',
    950: '#000000',
  },
}
SCSS
$custom: #511c30;
$custom-light: #845b68;
$custom-dark: #000000;
JSON
{
  "hex": "#511c30",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 48
  },
  "hsl": {
    "h": 337.358,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31416,
    "c": 0.08247,
    "h": 359.5
  },
  "luminance": 0.02793
}

Semantic roles & 50–950 ramp

primary
#511C30
secondary
#42876D
accent
#D8A550
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #511C30

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

Preview Lab → · Contrast checker → · Palette generator →

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