#511428#511428

#511428 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.0% C 0.092 H 4.6°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#511428
RGBrgb(81, 20, 40)
HSLhsl(340, 60%, 20%)
HSVhsv(340, 75%, 32%)
CMYKcmyk(0%, 75.3%, 50.6%, 68.2%)
CIE-LABlab(17.48, 30.01, 2.76)
CIE-LCHlch(17.48, 30.14, 5.26°)
OKLaboklab(30.05% 0.0917 0.0074)
OKLCHoklch(30.05% 0.092 4.6)
XYZxyz(4.0268, 2.4034, 2.2589)
Luminance0.0240 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511428 #14513D
analogous
#511447 #511428 #511F14
triadic
#511428 #285114 #142851
tetradic
#511428 #475114 #14513D #1F1451
square
#511428 #475114 #14513D #1F1451
split-complementary
#511428 #14511F #144751
monochromatic
#19060C #200810 #511428 #822040 #B32C58

Accessibility & contrast

On white

14.18
#511428 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#511428 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511428
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511428#FFFFFF#000000##FFFFFF
##5114281.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212328
Deuteranopia (green-blind)
#322F27
Tritanopia (blue-blind)
#590B1C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #511428;
/* rgb */ color: rgb(81, 20, 40);
/* oklch */ color: oklch(30.0% 0.092 4.6);
Tailwind
colors: {
  custom: {
    50: '#865761',
    500: '#511428',
    950: '#000000',
  },
}
SCSS
$custom: #511428;
$custom-light: #865761;
$custom-dark: #000000;
JSON
{
  "hex": "#511428",
  "rgb": {
    "r": 81,
    "g": 20,
    "b": 40
  },
  "hsl": {
    "h": 340.328,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.3005,
    "c": 0.09198,
    "h": 4.6
  },
  "luminance": 0.02403
}

Semantic roles & 50–950 ramp

primary
#511428
secondary
#38896E
accent
#E4AF44
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #511428

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

Preview Lab → · Contrast checker → · Palette generator →

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