#511645#511645

#511645 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.6% C 0.106 H 336.9°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#511645
RGBrgb(81, 22, 69)
HSLhsl(312, 57%, 20%)
HSVhsv(312, 73%, 32%)
CMYKcmyk(0%, 72.8%, 14.8%, 68.2%)
CIE-LABlab(19.03, 33.25, -15.33)
CIE-LCHlch(19.03, 36.62, 335.24°)
OKLaboklab(31.59% 0.0977 -0.0416)
OKLCHoklch(31.59% 0.106 336.9)
XYZxyz(4.7545, 2.7532, 5.9101)
Luminance0.0275 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511645 #165122
analogous
#3F1651 #511645 #511628
triadic
#511645 #455116 #164551
tetradic
#511645 #513F16 #165122 #162851
square
#511645 #513F16 #165122 #162851
split-complementary
#511645 #285116 #16513F
monochromatic
#180714 #21091C #511645 #81236E #B13097

Accessibility & contrast

On white

13.54
#511645 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#511645 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511645
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511645#FFFFFF#000000##FFFFFF
##5116451.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172846
Deuteranopia (green-blind)
#2A3144
Tritanopia (blue-blind)
#56192B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511645;
/* rgb */ color: rgb(81, 22, 69);
/* oklch */ color: oklch(31.6% 0.106 336.9);
Tailwind
colors: {
  custom: {
    50: '#845979',
    500: '#511645',
    950: '#000000',
  },
}
SCSS
$custom: #511645;
$custom-light: #845979;
$custom-dark: #000000;
JSON
{
  "hex": "#511645",
  "rgb": {
    "r": 81,
    "g": 22,
    "b": 69
  },
  "hsl": {
    "h": 312.203,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.3159,
    "c": 0.10615,
    "h": 336.9
  },
  "luminance": 0.02753
}

Semantic roles & 50–950 ramp

primary
#511645
secondary
#3A884A
accent
#E16647
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #511645

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

Preview Lab → · Contrast checker → · Palette generator →

#511645 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva