#51142C#51142C

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

Color values

HEX#51142C
RGBrgb(81, 20, 44)
HSLhsl(336, 60%, 20%)
HSVhsv(336, 75%, 32%)
CMYKcmyk(0%, 75.3%, 45.7%, 68.2%)
CIE-LABlab(17.61, 30.47, 0.09)
CIE-LCHlch(17.61, 30.47, 0.17°)
OKLaboklab(30.19% 0.0933 0.0006)
OKLCHoklch(30.19% 0.093 0.4)
XYZxyz(4.0984, 2.4320, 2.6360)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51142C #145139
analogous
#51144B #51142C #511A14
triadic
#51142C #2C5114 #142C51
tetradic
#51142C #4B5114 #145139 #1A1451
square
#51142C #4B5114 #145139 #1A1451
split-complementary
#51142C #14511A #144B51
monochromatic
#19060D #200811 #51142C #822047 #B32C61

Accessibility & contrast

On white

14.13
#51142C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51142C
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51142C#FFFFFF#000000##FFFFFF
##51142C1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20242D
Deuteranopia (green-blind)
#312F2B
Tritanopia (blue-blind)
#580C1E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #51142c;
/* rgb */ color: rgb(81, 20, 44);
/* oklch */ color: oklch(30.2% 0.093 0.4);
Tailwind
colors: {
  custom: {
    50: '#855764',
    500: '#51142c',
    950: '#000000',
  },
}
SCSS
$custom: #51142c;
$custom-light: #855764;
$custom-dark: #000000;
JSON
{
  "hex": "#51142c",
  "rgb": {
    "r": 81,
    "g": 20,
    "b": 44
  },
  "hsl": {
    "h": 336.393,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30191,
    "c": 0.09332,
    "h": 0.4
  },
  "luminance": 0.02431
}

Semantic roles & 50–950 ramp

primary
#51142C
secondary
#388969
accent
#E4A544
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0305
muted
#7C787A

Preview Lab

Preview with #51142C

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

Preview Lab → · Contrast checker → · Palette generator →

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