#51183C#51183C

#51183C is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.4% C 0.096 H 345.2°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#51183C
RGBrgb(81, 24, 60)
HSLhsl(322, 54%, 21%)
HSVhsv(322, 70%, 32%)
CMYKcmyk(0%, 70.4%, 25.9%, 68.2%)
CIE-LABlab(18.93, 30.82, -9.25)
CIE-LCHlch(18.93, 32.18, 343.30°)
OKLaboklab(31.37% 0.0929 -0.0245)
OKLCHoklch(31.37% 0.096 345.2)
XYZxyz(4.5357, 2.7293, 4.5620)
Luminance0.0273 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51183C #18512D
analogous
#491851 #51183C #51181F
triadic
#51183C #3C5118 #183C51
tetradic
#51183C #514918 #18512D #181F51
square
#51183C #514918 #18512D #181F51
split-complementary
#51183C #1F5118 #185149
monochromatic
#180711 #220A19 #51183C #80265F #AF3482

Accessibility & contrast

On white

13.59
#51183C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#51183C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51183C
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51183C#FFFFFF#000000##FFFFFF
##51183C1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E283D
Deuteranopia (green-blind)
#2E323B
Tritanopia (blue-blind)
#571727
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #51183c;
/* rgb */ color: rgb(81, 24, 60);
/* oklch */ color: oklch(31.4% 0.096 345.2);
Tailwind
colors: {
  custom: {
    50: '#845971',
    500: '#51183c',
    950: '#000000',
  },
}
SCSS
$custom: #51183c;
$custom-light: #845971;
$custom-dark: #000000;
JSON
{
  "hex": "#51183c",
  "rgb": {
    "r": 81,
    "g": 24,
    "b": 60
  },
  "hsl": {
    "h": 322.105,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31371,
    "c": 0.09604,
    "h": 345.2
  },
  "luminance": 0.02729
}

Semantic roles & 50–950 ramp

primary
#51183C
secondary
#3D8859
accent
#DE804A
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #51183C

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

Preview Lab → · Contrast checker → · Palette generator →

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