#51142D#51142D

#51142D is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.2% C 0.094 H 359.3°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#51142D
RGBrgb(81, 20, 45)
HSLhsl(335, 60%, 20%)
HSVhsv(335, 75%, 32%)
CMYKcmyk(0%, 75.3%, 44.4%, 68.2%)
CIE-LABlab(17.64, 30.59, -0.58)
CIE-LCHlch(17.64, 30.59, 358.92°)
OKLaboklab(30.23% 0.0937 -0.0011)
OKLCHoklch(30.23% 0.094 359.3)
XYZxyz(4.1174, 2.4396, 2.7362)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51142D #145138
analogous
#51144C #51142D #511A14
triadic
#51142D #2D5114 #142D51
tetradic
#51142D #4C5114 #145138 #1A1451
square
#51142D #4C5114 #145138 #1A1451
split-complementary
#51142D #14511A #144C51
monochromatic
#19060E #200812 #51142D #822048 #B32C64

Accessibility & contrast

On white

14.11
#51142D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#51142D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51142D
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51142D#FFFFFF#000000##FFFFFF
##51142D1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20242E
Deuteranopia (green-blind)
#31302C
Tritanopia (blue-blind)
#580D1E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #51142d;
/* rgb */ color: rgb(81, 20, 45);
/* oklch */ color: oklch(30.2% 0.094 359.3);
Tailwind
colors: {
  custom: {
    50: '#855765',
    500: '#51142d',
    950: '#000000',
  },
}
SCSS
$custom: #51142d;
$custom-light: #855765;
$custom-dark: #000000;
JSON
{
  "hex": "#51142d",
  "rgb": {
    "r": 81,
    "g": 20,
    "b": 45
  },
  "hsl": {
    "h": 335.41,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30228,
    "c": 0.09372,
    "h": 359.3
  },
  "luminance": 0.02439
}

Semantic roles & 50–950 ramp

primary
#51142D
secondary
#388968
accent
#E4A244
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0305
muted
#7C787A

Preview Lab

Preview with #51142D

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

Preview Lab → · Contrast checker → · Palette generator →

#51142D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva