#51183B#51183B

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

Color values

HEX#51183B
RGBrgb(81, 24, 59)
HSLhsl(323, 54%, 21%)
HSVhsv(323, 70%, 32%)
CMYKcmyk(0%, 70.4%, 27.2%, 68.2%)
CIE-LABlab(18.88, 30.66, -8.62)
CIE-LCHlch(18.88, 31.85, 344.30°)
OKLaboklab(31.32% 0.0926 -0.0228)
OKLCHoklch(31.32% 0.095 346.2)
XYZxyz(4.5096, 2.7188, 4.4241)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51183B #18512E
analogous
#4A1851 #51183B #51181E
triadic
#51183B #3B5118 #183B51
tetradic
#51183B #514A18 #18512E #181E51
square
#51183B #514A18 #18512E #181E51
split-complementary
#51183B #1E5118 #18514A
monochromatic
#180711 #220A19 #51183B #80265D #AF3480

Accessibility & contrast

On white

13.60
#51183B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51183B
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51183B#FFFFFF#000000##FFFFFF
##51183B1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51183b;
/* rgb */ color: rgb(81, 24, 59);
/* oklch */ color: oklch(31.3% 0.095 346.2);
Tailwind
colors: {
  custom: {
    50: '#845971',
    500: '#51183b',
    950: '#000000',
  },
}
SCSS
$custom: #51183b;
$custom-light: #845971;
$custom-dark: #000000;
JSON
{
  "hex": "#51183b",
  "rgb": {
    "r": 81,
    "g": 24,
    "b": 59
  },
  "hsl": {
    "h": 323.158,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31324,
    "c": 0.09534,
    "h": 346.2
  },
  "luminance": 0.02718
}

Semantic roles & 50–950 ramp

primary
#51183B
secondary
#3D885A
accent
#DE834A
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #51183B

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

Preview Lab → · Contrast checker → · Palette generator →

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