#51112A#51112A

#51112A is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.8% C 0.097 H 1.4°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#51112A
RGBrgb(81, 17, 42)
HSLhsl(337, 65%, 19%)
HSVhsv(337, 79%, 32%)
CMYKcmyk(0%, 79%, 48.1%, 68.2%)
CIE-LABlab(17.07, 31.53, 0.74)
CIE-LCHlch(17.07, 31.54, 1.35°)
OKLaboklab(29.77% 0.0966 0.0023)
OKLCHoklch(29.77% 0.097 1.4)
XYZxyz(4.0120, 2.3179, 2.4262)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51112A #115138
analogous
#51114A #51112A #511811
triadic
#51112A #2A5111 #112A51
tetradic
#51112A #4A5111 #115138 #181151
square
#51112A #4A5111 #115138 #181151
split-complementary
#51112A #115118 #114A51
monochromatic
#19050D #1E0610 #51112A #841C44 #B6265E

Accessibility & contrast

On white

14.35
#51112A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#51112A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51112A
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51112A#FFFFFF#000000##FFFFFF
##51112A1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F222B
Deuteranopia (green-blind)
#302F29
Tritanopia (blue-blind)
#58071C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #51112a;
/* rgb */ color: rgb(81, 17, 42);
/* oklch */ color: oklch(29.8% 0.097 1.4);
Tailwind
colors: {
  custom: {
    50: '#865563',
    500: '#51112a',
    950: '#000000',
  },
}
SCSS
$custom: #51112a;
$custom-light: #865563;
$custom-dark: #000000;
JSON
{
  "hex": "#51112a",
  "rgb": {
    "r": 81,
    "g": 17,
    "b": 42
  },
  "hsl": {
    "h": 336.563,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29774,
    "c": 0.09667,
    "h": 1.4
  },
  "luminance": 0.02317
}

Semantic roles & 50–950 ramp

primary
#51112A
secondary
#348A68
accent
#E8A640
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #51112A

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

Preview Lab → · Contrast checker → · Palette generator →

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