#511E30#511E30

#511E30 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 31.7% C 0.079 H 0.6°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#511E30
RGBrgb(81, 30, 48)
HSLhsl(339, 46%, 22%)
HSVhsv(339, 63%, 32%)
CMYKcmyk(0%, 63%, 40.7%, 68.2%)
CIE-LABlab(19.60, 25.95, 0.17)
CIE-LCHlch(19.60, 25.95, 0.37°)
OKLaboklab(31.72% 0.0791 0.0008)
OKLCHoklch(31.72% 0.079 0.6)
XYZxyz(4.3914, 2.8917, 3.1226)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E30 #1E513F
analogous
#511E4A #511E30 #51261E
triadic
#511E30 #30511E #1E3051
tetradic
#511E30 #4A511E #1E513F #261E51
square
#511E30 #4A511E #1E513F #261E51
split-complementary
#511E30 #1E5126 #1E4A51
monochromatic
#16080D #240D16 #511E30 #7E2F4A #AA3F65

Accessibility & contrast

On white

13.31
#511E30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511E30
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511E30#FFFFFF#000000##FFFFFF
##511E301.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #511e30;
/* rgb */ color: rgb(81, 30, 48);
/* oklch */ color: oklch(31.7% 0.079 0.6);
Tailwind
colors: {
  custom: {
    50: '#845c68',
    500: '#511e30',
    950: '#000000',
  },
}
SCSS
$custom: #511e30;
$custom-light: #845c68;
$custom-dark: #000000;
JSON
{
  "hex": "#511e30",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 48
  },
  "hsl": {
    "h": 338.824,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.3172,
    "c": 0.07908,
    "h": 0.6
  },
  "luminance": 0.02891
}

Semantic roles & 50–950 ramp

primary
#511E30
secondary
#45866F
accent
#D6A752
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #511E30

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

Preview Lab → · Contrast checker → · Palette generator →

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