#51183E#51183E

#51183E is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.5% C 0.097 H 343.3°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#51183E
RGBrgb(81, 24, 62)
HSLhsl(320, 54%, 21%)
HSVhsv(320, 70%, 32%)
CMYKcmyk(0%, 70.4%, 23.5%, 68.2%)
CIE-LABlab(19.02, 31.14, -10.50)
CIE-LCHlch(19.02, 32.86, 341.36°)
OKLaboklab(31.47% 0.0934 -0.028)
OKLCHoklch(31.47% 0.097 343.3)
XYZxyz(4.5896, 2.7508, 4.8457)
Luminance0.0275 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51183E #18512B
analogous
#471851 #51183E #511821
triadic
#51183E #3E5118 #183E51
tetradic
#51183E #514718 #18512B #182151
square
#51183E #514718 #18512B #182151
split-complementary
#51183E #215118 #185147
monochromatic
#180712 #220A1A #51183E #802662 #AF3486

Accessibility & contrast

On white

13.55
#51183E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51183E
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51183E#FFFFFF#000000##FFFFFF
##51183E1.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D283F
Deuteranopia (green-blind)
#2E323D
Tritanopia (blue-blind)
#561828
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #51183e;
/* rgb */ color: rgb(81, 24, 62);
/* oklch */ color: oklch(31.5% 0.097 343.3);
Tailwind
colors: {
  custom: {
    50: '#845973',
    500: '#51183e',
    950: '#000000',
  },
}
SCSS
$custom: #51183e;
$custom-light: #845973;
$custom-dark: #000000;
JSON
{
  "hex": "#51183e",
  "rgb": {
    "r": 81,
    "g": 24,
    "b": 62
  },
  "hsl": {
    "h": 320,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31469,
    "c": 0.09749,
    "h": 343.3
  },
  "luminance": 0.0275
}

Semantic roles & 50–950 ramp

primary
#51183E
secondary
#3D8856
accent
#DE7B4A
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #51183E

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

Preview Lab → · Contrast checker → · Palette generator →

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