#511C45#511C45

#511C45 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.4% C 0.096 H 337.4°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#511C45
RGBrgb(81, 28, 69)
HSLhsl(314, 49%, 21%)
HSVhsv(314, 65%, 32%)
CMYKcmyk(0%, 65.4%, 14.8%, 68.2%)
CIE-LABlab(20.08, 30.34, -13.69)
CIE-LCHlch(20.08, 33.29, 335.71°)
OKLaboklab(32.36% 0.089 -0.037)
OKLCHoklch(32.36% 0.096 337.4)
XYZxyz(4.8828, 3.0099, 5.9529)
Luminance0.0301 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C45 #1C5128
analogous
#431C51 #511C45 #511C2B
triadic
#511C45 #45511C #1C4551
tetradic
#511C45 #51431C #1C5128 #1C2B51
square
#511C45 #51431C #1C5128 #1C2B51
split-complementary
#511C45 #2B511C #1C5143
monochromatic
#170813 #240C1E #511C45 #7E2C6C #AC3B92

Accessibility & contrast

On white

13.11
#511C45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#511C45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511C45
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C45#FFFFFF#000000##FFFFFF
##511C451.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2B46
Deuteranopia (green-blind)
#2D3344
Tritanopia (blue-blind)
#551E2D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511c45;
/* rgb */ color: rgb(81, 28, 69);
/* oklch */ color: oklch(32.4% 0.096 337.4);
Tailwind
colors: {
  custom: {
    50: '#845c78',
    500: '#511c45',
    950: '#000000',
  },
}
SCSS
$custom: #511c45;
$custom-light: #845c78;
$custom-dark: #000000;
JSON
{
  "hex": "#511c45",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 69
  },
  "hsl": {
    "h": 313.585,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32362,
    "c": 0.09641,
    "h": 337.4
  },
  "luminance": 0.0301
}

Semantic roles & 50–950 ramp

primary
#511C45
secondary
#428752
accent
#D86F50
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #511C45

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

Preview Lab → · Contrast checker → · Palette generator →

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