#511143#511143

#511143 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.9% C 0.112 H 338.2°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#511143
RGBrgb(81, 17, 67)
HSLhsl(313, 65%, 19%)
HSVhsv(313, 79%, 32%)
CMYKcmyk(0%, 79%, 17.3%, 68.2%)
CIE-LABlab(18.17, 35.02, -15.29)
CIE-LCHlch(18.17, 38.21, 336.42°)
OKLaboklab(30.93% 0.1037 -0.0414)
OKLCHoklch(30.93% 0.112 338.2)
XYZxyz(4.6070, 2.5559, 5.5598)
Luminance0.0255 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511143 #11511F
analogous
#3F1151 #511143 #511123
triadic
#511143 #435111 #114351
tetradic
#511143 #513F11 #11511F #112351
square
#511143 #513F11 #11511F #112351
split-complementary
#511143 #235111 #11513F
monochromatic
#190515 #1E0619 #511143 #841C6D #B62697

Accessibility & contrast

On white

13.90
#511143 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#511143 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511143
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511143#FFFFFF#000000##FFFFFF
##5111431.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142644
Deuteranopia (green-blind)
#293041
Tritanopia (blue-blind)
#561428
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #511143;
/* rgb */ color: rgb(81, 17, 67);
/* oklch */ color: oklch(30.9% 0.112 338.2);
Tailwind
colors: {
  custom: {
    50: '#845677',
    500: '#511143',
    950: '#000000',
  },
}
SCSS
$custom: #511143;
$custom-light: #845677;
$custom-dark: #000000;
JSON
{
  "hex": "#511143",
  "rgb": {
    "r": 81,
    "g": 17,
    "b": 67
  },
  "hsl": {
    "h": 313.125,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30933,
    "c": 0.11163,
    "h": 338.2
  },
  "luminance": 0.02555
}

Semantic roles & 50–950 ramp

primary
#511143
secondary
#348A46
accent
#E86440
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #511143

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

Preview Lab → · Contrast checker → · Palette generator →

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