#51132A#51132A

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

Color values

HEX#51132A
RGBrgb(81, 19, 42)
HSLhsl(338, 62%, 20%)
HSVhsv(338, 77%, 32%)
CMYKcmyk(0%, 76.5%, 48.1%, 68.2%)
CIE-LABlab(17.38, 30.68, 1.19)
CIE-LCHlch(17.38, 30.70, 2.22°)
OKLaboklab(30% 0.0939 0.0034)
OKLCHoklch(30% 0.094 2.1)
XYZxyz(4.0444, 2.3828, 2.4370)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51132A #13513A
analogous
#511349 #51132A #511B13
triadic
#51132A #2A5113 #132A51
tetradic
#51132A #495113 #13513A #1B1351
square
#51132A #495113 #13513A #1B1351
split-complementary
#51132A #13511B #134951
monochromatic
#19060D #1F0710 #51132A #831F44 #B42A5D

Accessibility & contrast

On white

14.22
#51132A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51132A
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51132A#FFFFFF#000000##FFFFFF
##51132A1.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20232B
Deuteranopia (green-blind)
#312F29
Tritanopia (blue-blind)
#580A1C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #51132a;
/* rgb */ color: rgb(81, 19, 42);
/* oklch */ color: oklch(30.0% 0.094 2.1);
Tailwind
colors: {
  custom: {
    50: '#855663',
    500: '#51132a',
    950: '#000000',
  },
}
SCSS
$custom: #51132a;
$custom-light: #855663;
$custom-dark: #000000;
JSON
{
  "hex": "#51132a",
  "rgb": {
    "r": 81,
    "g": 19,
    "b": 42
  },
  "hsl": {
    "h": 337.742,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3,
    "c": 0.09399,
    "h": 2.1
  },
  "luminance": 0.02382
}

Semantic roles & 50–950 ramp

primary
#51132A
secondary
#368A6B
accent
#E5A943
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #51132A

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

Preview Lab → · Contrast checker → · Palette generator →

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