#511A30#511A30

#511A30 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.1% C 0.086 H 358.5°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#511A30
RGBrgb(81, 26, 48)
HSLhsl(336, 51%, 21%)
HSVhsv(336, 68%, 32%)
CMYKcmyk(0%, 67.9%, 40.7%, 68.2%)
CIE-LABlab(18.81, 28.08, -1.00)
CIE-LCHlch(18.81, 28.09, 357.97°)
OKLaboklab(31.13% 0.0858 -0.0023)
OKLCHoklch(31.13% 0.086 358.5)
XYZxyz(4.2965, 2.7020, 3.0910)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511A30 #1A513B
analogous
#511A4B #511A30 #511F1A
triadic
#511A30 #30511A #1A3051
tetradic
#511A30 #4B511A #1A513B #1F1A51
square
#511A30 #4B511A #1A513B #1F1A51
split-complementary
#511A30 #1A511F #1A4B51
monochromatic
#17070E #230B15 #511A30 #7F294B #AE3867

Accessibility & contrast

On white

13.63
#511A30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#511A30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511A30
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511A30#FFFFFF#000000##FFFFFF
##511A301.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242731
Deuteranopia (green-blind)
#32322F
Tritanopia (blue-blind)
#581523
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511a30;
/* rgb */ color: rgb(81, 26, 48);
/* oklch */ color: oklch(31.1% 0.086 358.5);
Tailwind
colors: {
  custom: {
    50: '#855a68',
    500: '#511a30',
    950: '#000000',
  },
}
SCSS
$custom: #511a30;
$custom-light: #855a68;
$custom-dark: #000000;
JSON
{
  "hex": "#511a30",
  "rgb": {
    "r": 81,
    "g": 26,
    "b": 48
  },
  "hsl": {
    "h": 336,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31127,
    "c": 0.08578,
    "h": 358.5
  },
  "luminance": 0.02702
}

Semantic roles & 50–950 ramp

primary
#511A30
secondary
#40876B
accent
#DBA24D
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #511A30

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

Preview Lab → · Contrast checker → · Palette generator →

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