#511343#511343

#511343 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.1% C 0.109 H 338.3°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#511343
RGBrgb(81, 19, 67)
HSLhsl(314, 62%, 20%)
HSVhsv(314, 77%, 32%)
CMYKcmyk(0%, 76.5%, 17.3%, 68.2%)
CIE-LABlab(18.46, 34.21, -14.84)
CIE-LCHlch(18.46, 37.29, 336.55°)
OKLaboklab(31.14% 0.1012 -0.0402)
OKLCHoklch(31.14% 0.109 338.3)
XYZxyz(4.6394, 2.6208, 5.5706)
Luminance0.0262 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511343 #135121
analogous
#401351 #511343 #511324
triadic
#511343 #435113 #134351
tetradic
#511343 #514013 #135121 #132451
square
#511343 #514013 #135121 #132451
split-complementary
#511343 #245113 #135140
monochromatic
#190615 #1F071A #511343 #831F6C #B42A95

Accessibility & contrast

On white

13.78
#511343 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#511343 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511343
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511343#FFFFFF#000000##FFFFFF
##5113431.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162744
Deuteranopia (green-blind)
#2A3042
Tritanopia (blue-blind)
#561629
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511343;
/* rgb */ color: rgb(81, 19, 67);
/* oklch */ color: oklch(31.1% 0.109 338.3);
Tailwind
colors: {
  custom: {
    50: '#845777',
    500: '#511343',
    950: '#000000',
  },
}
SCSS
$custom: #511343;
$custom-light: #845777;
$custom-dark: #000000;
JSON
{
  "hex": "#511343",
  "rgb": {
    "r": 81,
    "g": 19,
    "b": 67
  },
  "hsl": {
    "h": 313.548,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3114,
    "c": 0.10891,
    "h": 338.3
  },
  "luminance": 0.0262
}

Semantic roles & 50–950 ramp

primary
#511343
secondary
#368A49
accent
#E56743
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #511343

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

Preview Lab → · Contrast checker → · Palette generator →

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