#51132C#51132C

#51132C is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.095 H 360.0°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#51132C
RGBrgb(81, 19, 44)
HSLhsl(336, 62%, 20%)
HSVhsv(336, 77%, 32%)
CMYKcmyk(0%, 76.5%, 45.7%, 68.2%)
CIE-LABlab(17.45, 30.91, -0.15)
CIE-LCHlch(17.45, 30.91, 359.73°)
OKLaboklab(30.07% 0.0947 0)
OKLCHoklch(30.07% 0.095 0)
XYZxyz(4.0811, 2.3974, 2.6302)
Luminance0.0240 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51132C #135138
analogous
#51134B #51132C #511913
triadic
#51132C #2C5113 #132C51
tetradic
#51132C #4B5113 #135138 #191351
square
#51132C #4B5113 #135138 #191351
split-complementary
#51132C #135119 #134B51
monochromatic
#19060D #1F0711 #51132C #831F47 #B42A62

Accessibility & contrast

On white

14.19
#51132C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51132C
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51132C#FFFFFF#000000##FFFFFF
##51132C1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20232D
Deuteranopia (green-blind)
#302F2B
Tritanopia (blue-blind)
#580B1D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #51132c;
/* rgb */ color: rgb(81, 19, 44);
/* oklch */ color: oklch(30.1% 0.095 360.0);
Tailwind
colors: {
  custom: {
    50: '#855664',
    500: '#51132c',
    950: '#000000',
  },
}
SCSS
$custom: #51132c;
$custom-light: #855664;
$custom-dark: #000000;
JSON
{
  "hex": "#51132c",
  "rgb": {
    "r": 81,
    "g": 19,
    "b": 44
  },
  "hsl": {
    "h": 335.806,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30073,
    "c": 0.09473,
    "h": 360
  },
  "luminance": 0.02397
}

Semantic roles & 50–950 ramp

primary
#51132C
secondary
#368A68
accent
#E5A443
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0305
muted
#7C787A

Preview Lab

Preview with #51132C

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

Preview Lab → · Contrast checker → · Palette generator →

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