#51122F#51122F

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

Color values

HEX#51122F
RGBrgb(81, 18, 47)
HSLhsl(332, 64%, 19%)
HSVhsv(332, 78%, 32%)
CMYKcmyk(0%, 77.8%, 42%, 68.2%)
CIE-LABlab(17.40, 31.70, -2.36)
CIE-LCHlch(17.40, 31.79, 355.75°)
OKLaboklab(30.08% 0.0972 -0.0058)
OKLCHoklch(30.08% 0.097 356.6)
XYZxyz(4.1230, 2.3877, 2.9325)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51122F #125134
analogous
#51124F #51122F #511512
triadic
#51122F #2F5112 #122F51
tetradic
#51122F #4F5112 #125134 #151251
square
#51122F #4F5112 #125134 #151251
split-complementary
#51122F #125115 #124F51
monochromatic
#19060F #1F0712 #51122F #831D4C #B52869

Accessibility & contrast

On white

14.21
#51122F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51122F
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51122F#FFFFFF#000000##FFFFFF
##51122F1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2330
Deuteranopia (green-blind)
#2F2F2E
Tritanopia (blue-blind)
#580B1E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #51122f;
/* rgb */ color: rgb(81, 18, 47);
/* oklch */ color: oklch(30.1% 0.097 356.6);
Tailwind
colors: {
  custom: {
    50: '#855667',
    500: '#51122f',
    950: '#000000',
  },
}
SCSS
$custom: #51122f;
$custom-light: #855667;
$custom-dark: #000000;
JSON
{
  "hex": "#51122f",
  "rgb": {
    "r": 81,
    "g": 18,
    "b": 47
  },
  "hsl": {
    "h": 332.381,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30075,
    "c": 0.09739,
    "h": 356.6
  },
  "luminance": 0.02387
}

Semantic roles & 50–950 ramp

primary
#51122F
secondary
#358A63
accent
#E79A41
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #51122F

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

Preview Lab → · Contrast checker → · Palette generator →

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