#51384C#51384C

#51384C is a dark, muted pink. Relative luminance 0.051; OKLCH L 37.7% C 0.047 H 333.8°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#51384C
RGBrgb(81, 56, 76)
HSLhsl(312, 18%, 27%)
HSVhsv(312, 31%, 32%)
CMYKcmyk(0%, 30.9%, 6.2%, 68.2%)
CIE-LABlab(27.02, 14.90, -7.81)
CIE-LCHlch(27.02, 16.82, 332.33°)
OKLaboklab(37.67% 0.0424 -0.0209)
OKLCHoklch(37.67% 0.047 333.8)
XYZxyz(6.1119, 5.0997, 7.4985)
Luminance0.0510 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51384C #38513D
analogous
#4A3851 #51384C #513840
triadic
#51384C #4C5138 #384C51
tetradic
#51384C #514A38 #38513D #384051
square
#51384C #514A38 #38513D #384051
split-complementary
#51384C #405138 #38514A
monochromatic
#120D11 #2D1F2A #51384C #75516E #996B8F

Accessibility & contrast

On white

10.40
#51384C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#51384C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51384C
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51384C#FFFFFF#000000##FFFFFF
##51384C1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383E4D
Deuteranopia (green-blind)
#3E414B
Tritanopia (blue-blind)
#53393F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #51384c;
/* rgb */ color: rgb(81, 56, 76);
/* oklch */ color: oklch(37.7% 0.047 333.8);
Tailwind
colors: {
  custom: {
    50: '#826f7e',
    500: '#51384c',
    950: '#000000',
  },
}
SCSS
$custom: #51384c;
$custom-light: #826f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#51384c",
  "rgb": {
    "r": 81,
    "g": 56,
    "b": 76
  },
  "hsl": {
    "h": 312,
    "s": 18.248,
    "l": 26.863
  },
  "oklch": {
    "l": 0.37667,
    "c": 0.04726,
    "h": 333.8
  },
  "luminance": 0.05099
}

Semantic roles & 50–950 ramp

primary
#51384C
secondary
#64816A
accent
#BB7C6D
background
#F8F6F7
surface
#EFECEE
border
#CAC7C9
text
#0A0709
muted
#7C7A7B

Preview Lab

Preview with #51384C

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

Preview Lab → · Contrast checker → · Palette generator →

#51384C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva