#51152C#51152C

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

Color values

HEX#51152C
RGBrgb(81, 21, 44)
HSLhsl(337, 59%, 20%)
HSVhsv(337, 74%, 32%)
CMYKcmyk(0%, 74.1%, 45.7%, 68.2%)
CIE-LABlab(17.77, 30.01, 0.33)
CIE-LCHlch(17.77, 30.02, 0.63°)
OKLaboklab(30.31% 0.0919 0.0012)
OKLCHoklch(30.31% 0.092 0.7)
XYZxyz(4.1164, 2.4680, 2.6420)
Luminance0.0247 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51152C #15513A
analogous
#51154A #51152C #511C15
triadic
#51152C #2C5115 #152C51
tetradic
#51152C #4A5115 #15513A #1C1551
square
#51152C #4A5115 #15513A #1C1551
split-complementary
#51152C #15511C #154A51
monochromatic
#18060D #200812 #51152C #822246 #B22E61

Accessibility & contrast

On white

14.06
#51152C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#51152C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51152C
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51152C#FFFFFF#000000##FFFFFF
##51152C1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21242D
Deuteranopia (green-blind)
#31302B
Tritanopia (blue-blind)
#580E1E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #51152c;
/* rgb */ color: rgb(81, 21, 44);
/* oklch */ color: oklch(30.3% 0.092 0.7);
Tailwind
colors: {
  custom: {
    50: '#855764',
    500: '#51152c',
    950: '#000000',
  },
}
SCSS
$custom: #51152c;
$custom-light: #855764;
$custom-dark: #000000;
JSON
{
  "hex": "#51152c",
  "rgb": {
    "r": 81,
    "g": 21,
    "b": 44
  },
  "hsl": {
    "h": 337,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.30313,
    "c": 0.09189,
    "h": 0.7
  },
  "luminance": 0.02468
}

Semantic roles & 50–950 ramp

primary
#51152C
secondary
#39896A
accent
#E2A646
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0305
muted
#7C787A

Preview Lab

Preview with #51152C

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

Preview Lab → · Contrast checker → · Palette generator →

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