#51142A#51142A

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

Color values

HEX#51142A
RGBrgb(81, 20, 42)
HSLhsl(338, 60%, 20%)
HSVhsv(338, 75%, 32%)
CMYKcmyk(0%, 75.3%, 48.1%, 68.2%)
CIE-LABlab(17.54, 30.24, 1.42)
CIE-LCHlch(17.54, 30.27, 2.69°)
OKLaboklab(30.12% 0.0925 0.004)
OKLCHoklch(30.12% 0.093 2.5)
XYZxyz(4.0617, 2.4173, 2.4427)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51142A #14513B
analogous
#511448 #51142A #511D14
triadic
#51142A #2A5114 #142A51
tetradic
#51142A #485114 #14513B #1D1451
square
#51142A #485114 #14513B #1D1451
split-complementary
#51142A #14511D #144851
monochromatic
#19060D #200811 #51142A #822043 #B32C5D

Accessibility & contrast

On white

14.16
#51142A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#51142A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51142A
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51142A#FFFFFF#000000##FFFFFF
##51142A1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21232B
Deuteranopia (green-blind)
#312F29
Tritanopia (blue-blind)
#580B1D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #51142a;
/* rgb */ color: rgb(81, 20, 42);
/* oklch */ color: oklch(30.1% 0.093 2.5);
Tailwind
colors: {
  custom: {
    50: '#855763',
    500: '#51142a',
    950: '#000000',
  },
}
SCSS
$custom: #51142a;
$custom-light: #855763;
$custom-dark: #000000;
JSON
{
  "hex": "#51142a",
  "rgb": {
    "r": 81,
    "g": 20,
    "b": 42
  },
  "hsl": {
    "h": 338.361,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30119,
    "c": 0.09261,
    "h": 2.5
  },
  "luminance": 0.02417
}

Semantic roles & 50–950 ramp

primary
#51142A
secondary
#38896C
accent
#E4AA44
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #51142A

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

Preview Lab → · Contrast checker → · Palette generator →

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