#51152D#51152D

#51152D is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.3% C 0.092 H 359.7°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#51152D
RGBrgb(81, 21, 45)
HSLhsl(336, 59%, 20%)
HSVhsv(336, 74%, 32%)
CMYKcmyk(0%, 74.1%, 44.4%, 68.2%)
CIE-LABlab(17.81, 30.13, -0.33)
CIE-LCHlch(17.81, 30.14, 359.36°)
OKLaboklab(30.35% 0.0923 -0.0005)
OKLCHoklch(30.35% 0.092 359.7)
XYZxyz(4.1354, 2.4756, 2.7422)
Luminance0.0248 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51152D #155139
analogous
#51154B #51152D #511B15
triadic
#51152D #2D5115 #152D51
tetradic
#51152D #4B5115 #155139 #1B1551
square
#51152D #4B5115 #155139 #1B1551
split-complementary
#51152D #15511B #154B51
monochromatic
#18060D #200812 #51152D #822248 #B22E63

Accessibility & contrast

On white

14.05
#51152D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#51152D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51152D
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51152D#FFFFFF#000000##FFFFFF
##51152D1.0014.051.5014.05
#FFFFFF14.051.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21242E
Deuteranopia (green-blind)
#31302C
Tritanopia (blue-blind)
#580E1F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #51152d;
/* rgb */ color: rgb(81, 21, 45);
/* oklch */ color: oklch(30.3% 0.092 359.7);
Tailwind
colors: {
  custom: {
    50: '#855765',
    500: '#51152d',
    950: '#000000',
  },
}
SCSS
$custom: #51152d;
$custom-light: #855765;
$custom-dark: #000000;
JSON
{
  "hex": "#51152d",
  "rgb": {
    "r": 81,
    "g": 21,
    "b": 45
  },
  "hsl": {
    "h": 336,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.3035,
    "c": 0.09227,
    "h": 359.7
  },
  "luminance": 0.02475
}

Semantic roles & 50–950 ramp

primary
#51152D
secondary
#398969
accent
#E2A446
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0305
muted
#7C787A

Preview Lab

Preview with #51152D

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

Preview Lab → · Contrast checker → · Palette generator →

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