#51183A#51183A

#51183A is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.3% C 0.095 H 347.2°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#51183A
RGBrgb(81, 24, 58)
HSLhsl(324, 54%, 21%)
HSVhsv(324, 70%, 32%)
CMYKcmyk(0%, 70.4%, 28.4%, 68.2%)
CIE-LABlab(18.84, 30.51, -7.99)
CIE-LCHlch(18.84, 31.54, 345.33°)
OKLaboklab(31.28% 0.0923 -0.021)
OKLCHoklch(31.28% 0.095 347.2)
XYZxyz(4.4839, 2.7085, 4.2888)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51183A #18512F
analogous
#4B1851 #51183A #51181D
triadic
#51183A #3A5118 #183A51
tetradic
#51183A #514B18 #18512F #181D51
square
#51183A #514B18 #18512F #181D51
split-complementary
#51183A #1D5118 #18514B
monochromatic
#180711 #220A18 #51183A #80265C #AF347E

Accessibility & contrast

On white

13.62
#51183A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#51183A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51183A
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51183A#FFFFFF#000000##FFFFFF
##51183A1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F283B
Deuteranopia (green-blind)
#2F3139
Tritanopia (blue-blind)
#571726
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #51183a;
/* rgb */ color: rgb(81, 24, 58);
/* oklch */ color: oklch(31.3% 0.095 347.2);
Tailwind
colors: {
  custom: {
    50: '#845970',
    500: '#51183a',
    950: '#000000',
  },
}
SCSS
$custom: #51183a;
$custom-light: #845970;
$custom-dark: #000000;
JSON
{
  "hex": "#51183a",
  "rgb": {
    "r": 81,
    "g": 24,
    "b": 58
  },
  "hsl": {
    "h": 324.211,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31277,
    "c": 0.09466,
    "h": 347.2
  },
  "luminance": 0.02708
}

Semantic roles & 50–950 ramp

primary
#51183A
secondary
#3D885B
accent
#DE864A
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #51183A

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

Preview Lab → · Contrast checker → · Palette generator →

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