#511345#511345

#511345 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.3% C 0.111 H 336.7°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#511345
RGBrgb(81, 19, 69)
HSLhsl(312, 62%, 20%)
HSVhsv(312, 77%, 32%)
CMYKcmyk(0%, 76.5%, 14.8%, 68.2%)
CIE-LABlab(18.56, 34.55, -16.06)
CIE-LCHlch(18.56, 38.10, 335.07°)
OKLaboklab(31.25% 0.1015 -0.0437)
OKLCHoklch(31.25% 0.111 336.7)
XYZxyz(4.7005, 2.6452, 5.8921)
Luminance0.0265 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511345 #13511F
analogous
#3E1351 #511345 #511326
triadic
#511345 #455113 #134551
tetradic
#511345 #513E13 #13511F #132651
square
#511345 #513E13 #13511F #132651
split-complementary
#511345 #265113 #13513E
monochromatic
#190615 #1F071B #511345 #831F6F #B42A99

Accessibility & contrast

On white

13.73
#511345 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#511345 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511345
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511345#FFFFFF#000000##FFFFFF
##5113451.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142746
Deuteranopia (green-blind)
#293144
Tritanopia (blue-blind)
#56172A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511345;
/* rgb */ color: rgb(81, 19, 69);
/* oklch */ color: oklch(31.3% 0.111 336.7);
Tailwind
colors: {
  custom: {
    50: '#845779',
    500: '#511345',
    950: '#000000',
  },
}
SCSS
$custom: #511345;
$custom-light: #845779;
$custom-dark: #000000;
JSON
{
  "hex": "#511345",
  "rgb": {
    "r": 81,
    "g": 19,
    "b": 69
  },
  "hsl": {
    "h": 311.613,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31252,
    "c": 0.11051,
    "h": 336.7
  },
  "luminance": 0.02645
}

Semantic roles & 50–950 ramp

primary
#511345
secondary
#368A46
accent
#E56243
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #511345

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

Preview Lab → · Contrast checker → · Palette generator →

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