#511D30#511D30

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

Color values

HEX#511D30
RGBrgb(81, 29, 48)
HSLhsl(338, 47%, 22%)
HSVhsv(338, 64%, 32%)
CMYKcmyk(0%, 64.2%, 40.7%, 68.2%)
CIE-LABlab(19.40, 26.49, -0.13)
CIE-LCHlch(19.40, 26.49, 359.72°)
OKLaboklab(31.57% 0.0808 0)
OKLCHoklch(31.57% 0.081 0)
XYZxyz(4.3665, 2.8419, 3.1143)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D30 #1D513E
analogous
#511D4A #511D30 #51241D
triadic
#511D30 #30511D #1D3051
tetradic
#511D30 #4A511D #1D513E #241D51
square
#511D30 #4A511D #1D513E #241D51
split-complementary
#511D30 #1D5124 #1D4A51
monochromatic
#17080D #240D15 #511D30 #7E2D4B #AB3D65

Accessibility & contrast

On white

13.39
#511D30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#511D30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511D30
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D30#FFFFFF#000000##FFFFFF
##511D301.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262931
Deuteranopia (green-blind)
#34332F
Tritanopia (blue-blind)
#581824
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511d30;
/* rgb */ color: rgb(81, 29, 48);
/* oklch */ color: oklch(31.6% 0.081 360.0);
Tailwind
colors: {
  custom: {
    50: '#845c68',
    500: '#511d30',
    950: '#000000',
  },
}
SCSS
$custom: #511d30;
$custom-light: #845c68;
$custom-dark: #000000;
JSON
{
  "hex": "#511d30",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 48
  },
  "hsl": {
    "h": 338.077,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31567,
    "c": 0.08079,
    "h": 360
  },
  "luminance": 0.02841
}

Semantic roles & 50–950 ramp

primary
#511D30
secondary
#44866E
accent
#D7A651
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #511D30

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

Preview Lab → · Contrast checker → · Palette generator →

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