#51122B#51122B

#51122B is a dark, moderate pink. Relative luminance 0.024; OKLCH L 29.9% C 0.096 H 0.7°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#51122B
RGBrgb(81, 18, 43)
HSLhsl(336, 64%, 19%)
HSVhsv(336, 78%, 32%)
CMYKcmyk(0%, 77.8%, 46.9%, 68.2%)
CIE-LABlab(17.26, 31.23, 0.29)
CIE-LCHlch(17.26, 31.23, 0.54°)
OKLaboklab(29.92% 0.0957 0.0011)
OKLCHoklch(29.92% 0.096 0.7)
XYZxyz(4.0460, 2.3569, 2.5269)
Luminance0.0236 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51122B #125138
analogous
#51124B #51122B #511812
triadic
#51122B #2B5112 #122B51
tetradic
#51122B #4B5112 #125138 #181251
square
#51122B #4B5112 #125138 #181251
split-complementary
#51122B #125118 #124B51
monochromatic
#19060D #1F0710 #51122B #831D46 #B52860

Accessibility & contrast

On white

14.27
#51122B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51122B
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51122B#FFFFFF#000000##FFFFFF
##51122B1.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F232C
Deuteranopia (green-blind)
#302F2A
Tritanopia (blue-blind)
#58091C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #51122b;
/* rgb */ color: rgb(81, 18, 43);
/* oklch */ color: oklch(29.9% 0.096 0.7);
Tailwind
colors: {
  custom: {
    50: '#855664',
    500: '#51122b',
    950: '#000000',
  },
}
SCSS
$custom: #51122b;
$custom-light: #855664;
$custom-dark: #000000;
JSON
{
  "hex": "#51122b",
  "rgb": {
    "r": 81,
    "g": 18,
    "b": 43
  },
  "hsl": {
    "h": 336.19,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29922,
    "c": 0.09572,
    "h": 0.7
  },
  "luminance": 0.02356
}

Semantic roles & 50–950 ramp

primary
#51122B
secondary
#358A68
accent
#E7A541
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #51122B

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

Preview Lab → · Contrast checker → · Palette generator →

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