#51122E#51122E

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

Color values

HEX#51122E
RGBrgb(81, 18, 46)
HSLhsl(333, 64%, 19%)
HSVhsv(333, 78%, 32%)
CMYKcmyk(0%, 77.8%, 43.2%, 68.2%)
CIE-LABlab(17.37, 31.58, -1.70)
CIE-LCHlch(17.37, 31.63, 356.92°)
OKLaboklab(30.04% 0.0969 -0.0041)
OKLCHoklch(30.04% 0.097 357.6)
XYZxyz(4.1031, 2.3797, 2.8275)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51122E #125135
analogous
#51124E #51122E #511612
triadic
#51122E #2E5112 #122E51
tetradic
#51122E #4E5112 #125135 #161251
square
#51122E #4E5112 #125135 #161251
split-complementary
#51122E #125116 #124E51
monochromatic
#19060E #1F0712 #51122E #831D4A #B52867

Accessibility & contrast

On white

14.23
#51122E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#51122E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51122E
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51122E#FFFFFF#000000##FFFFFF
##51122E1.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E232F
Deuteranopia (green-blind)
#302F2D
Tritanopia (blue-blind)
#580B1E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #51122e;
/* rgb */ color: rgb(81, 18, 46);
/* oklch */ color: oklch(30.0% 0.097 357.6);
Tailwind
colors: {
  custom: {
    50: '#855666',
    500: '#51122e',
    950: '#000000',
  },
}
SCSS
$custom: #51122e;
$custom-light: #855666;
$custom-dark: #000000;
JSON
{
  "hex": "#51122e",
  "rgb": {
    "r": 81,
    "g": 18,
    "b": 46
  },
  "hsl": {
    "h": 333.333,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30036,
    "c": 0.09695,
    "h": 357.6
  },
  "luminance": 0.02379
}

Semantic roles & 50–950 ramp

primary
#51122E
secondary
#358A64
accent
#E79D41
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #51122E

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

Preview Lab → · Contrast checker → · Palette generator →

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