#51122D#51122D

#51122D is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.0% C 0.097 H 358.6°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#51122D
RGBrgb(81, 18, 45)
HSLhsl(334, 64%, 19%)
HSVhsv(334, 78%, 32%)
CMYKcmyk(0%, 77.8%, 44.4%, 68.2%)
CIE-LABlab(17.33, 31.46, -1.04)
CIE-LCHlch(17.33, 31.48, 358.11°)
OKLaboklab(30% 0.0965 -0.0023)
OKLCHoklch(30% 0.097 358.6)
XYZxyz(4.0836, 2.3719, 2.7249)
Luminance0.0237 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51122D #125136
analogous
#51124D #51122D #511712
triadic
#51122D #2D5112 #122D51
tetradic
#51122D #4D5112 #125136 #171251
square
#51122D #4D5112 #125136 #171251
split-complementary
#51122D #125117 #124D51
monochromatic
#19060E #1F0711 #51122D #831D49 #B52865

Accessibility & contrast

On white

14.25
#51122D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#51122D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51122D
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51122D#FFFFFF#000000##FFFFFF
##51122D1.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F232E
Deuteranopia (green-blind)
#302F2C
Tritanopia (blue-blind)
#580A1D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #51122d;
/* rgb */ color: rgb(81, 18, 45);
/* oklch */ color: oklch(30.0% 0.097 358.6);
Tailwind
colors: {
  custom: {
    50: '#855665',
    500: '#51122d',
    950: '#000000',
  },
}
SCSS
$custom: #51122d;
$custom-light: #855665;
$custom-dark: #000000;
JSON
{
  "hex": "#51122d",
  "rgb": {
    "r": 81,
    "g": 18,
    "b": 45
  },
  "hsl": {
    "h": 334.286,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29997,
    "c": 0.09651,
    "h": 358.6
  },
  "luminance": 0.02371
}

Semantic roles & 50–950 ramp

primary
#51122D
secondary
#358A65
accent
#E7A041
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0305
muted
#7C787A

Preview Lab

Preview with #51122D

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

Preview Lab → · Contrast checker → · Palette generator →

#51122D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva