#51132B#51132B

#51132B is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.0% C 0.094 H 1.0°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#51132B
RGBrgb(81, 19, 43)
HSLhsl(337, 62%, 20%)
HSVhsv(337, 77%, 32%)
CMYKcmyk(0%, 76.5%, 46.9%, 68.2%)
CIE-LABlab(17.41, 30.80, 0.52)
CIE-LCHlch(17.41, 30.80, 0.97°)
OKLaboklab(30.04% 0.0943 0.0017)
OKLCHoklch(30.04% 0.094 1)
XYZxyz(4.0626, 2.3900, 2.5324)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51132B #135139
analogous
#51134A #51132B #511A13
triadic
#51132B #2B5113 #132B51
tetradic
#51132B #4A5113 #135139 #1A1351
square
#51132B #4A5113 #135139 #1A1351
split-complementary
#51132B #13511A #134A51
monochromatic
#19060D #1F0711 #51132B #831F45 #B42A60

Accessibility & contrast

On white

14.21
#51132B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#51132B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51132B
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51132B#FFFFFF#000000##FFFFFF
##51132B1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20232C
Deuteranopia (green-blind)
#312F2A
Tritanopia (blue-blind)
#580A1D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #51132b;
/* rgb */ color: rgb(81, 19, 43);
/* oklch */ color: oklch(30.0% 0.094 1.0);
Tailwind
colors: {
  custom: {
    50: '#855664',
    500: '#51132b',
    950: '#000000',
  },
}
SCSS
$custom: #51132b;
$custom-light: #855664;
$custom-dark: #000000;
JSON
{
  "hex": "#51132b",
  "rgb": {
    "r": 81,
    "g": 19,
    "b": 43
  },
  "hsl": {
    "h": 336.774,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30036,
    "c": 0.09435,
    "h": 1
  },
  "luminance": 0.02389
}

Semantic roles & 50–950 ramp

primary
#51132B
secondary
#368A69
accent
#E5A643
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #51132B

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

Preview Lab → · Contrast checker → · Palette generator →

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