#511438#511438

#511438 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.7% C 0.100 H 348.2°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#511438
RGBrgb(81, 20, 56)
HSLhsl(325, 60%, 20%)
HSVhsv(325, 75%, 32%)
CMYKcmyk(0%, 75.3%, 30.9%, 68.2%)
CIE-LABlab(18.08, 32.06, -7.73)
CIE-LCHlch(18.08, 32.98, 346.44°)
OKLaboklab(30.69% 0.0974 -0.0203)
OKLCHoklch(30.69% 0.1 348.2)
XYZxyz(4.3575, 2.5356, 4.0006)
Luminance0.0254 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511438 #14512D
analogous
#4C1451 #511438 #51141A
triadic
#511438 #385114 #143851
tetradic
#511438 #514C14 #14512D #141A51
square
#511438 #514C14 #14512D #141A51
split-complementary
#511438 #1A5114 #14514C
monochromatic
#190611 #200816 #511438 #82205A #B32C7C

Accessibility & contrast

On white

13.93
#511438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511438
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511438#FFFFFF#000000##FFFFFF
##5114381.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2539
Deuteranopia (green-blind)
#2E3037
Tritanopia (blue-blind)
#571224
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #511438;
/* rgb */ color: rgb(81, 20, 56);
/* oklch */ color: oklch(30.7% 0.100 348.2);
Tailwind
colors: {
  custom: {
    50: '#85576e',
    500: '#511438',
    950: '#000000',
  },
}
SCSS
$custom: #511438;
$custom-light: #85576e;
$custom-dark: #000000;
JSON
{
  "hex": "#511438",
  "rgb": {
    "r": 81,
    "g": 20,
    "b": 56
  },
  "hsl": {
    "h": 324.59,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30692,
    "c": 0.09954,
    "h": 348.2
  },
  "luminance": 0.02535
}

Semantic roles & 50–950 ramp

primary
#511438
secondary
#388959
accent
#E48644
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #511438

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

Preview Lab → · Contrast checker → · Palette generator →

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