#51112C#51112C

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

Color values

HEX#51112C
RGBrgb(81, 17, 44)
HSLhsl(335, 65%, 19%)
HSVhsv(335, 79%, 32%)
CMYKcmyk(0%, 79%, 45.7%, 68.2%)
CIE-LABlab(17.14, 31.76, -0.59)
CIE-LCHlch(17.14, 31.76, 358.93°)
OKLaboklab(29.85% 0.0974 -0.0012)
OKLCHoklch(29.85% 0.097 359.3)
XYZxyz(4.0487, 2.3326, 2.6194)
Luminance0.0233 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51112C #115136
analogous
#51114C #51112C #511611
triadic
#51112C #2C5111 #112C51
tetradic
#51112C #4C5111 #115136 #161151
square
#51112C #4C5111 #115136 #161151
split-complementary
#51112C #115116 #114C51
monochromatic
#19050E #1E0611 #51112C #841C47 #B62663

Accessibility & contrast

On white

14.32
#51112C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#51112C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51112C
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51112C#FFFFFF#000000##FFFFFF
##51112C1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E222D
Deuteranopia (green-blind)
#302F2B
Tritanopia (blue-blind)
#58081C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #51112c;
/* rgb */ color: rgb(81, 17, 44);
/* oklch */ color: oklch(29.8% 0.097 359.3);
Tailwind
colors: {
  custom: {
    50: '#855564',
    500: '#51112c',
    950: '#000000',
  },
}
SCSS
$custom: #51112c;
$custom-light: #855564;
$custom-dark: #000000;
JSON
{
  "hex": "#51112c",
  "rgb": {
    "r": 81,
    "g": 17,
    "b": 44
  },
  "hsl": {
    "h": 334.688,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29849,
    "c": 0.09744,
    "h": 359.3
  },
  "luminance": 0.02332
}

Semantic roles & 50–950 ramp

primary
#51112C
secondary
#348A66
accent
#E8A140
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0305
muted
#7D787A

Preview Lab

Preview with #51112C

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

Preview Lab → · Contrast checker → · Palette generator →

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