#51153C#51153C

#51153C is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.0% C 0.101 H 344.7°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#51153C
RGBrgb(81, 21, 60)
HSLhsl(321, 59%, 20%)
HSVhsv(321, 74%, 32%)
CMYKcmyk(0%, 74.1%, 25.9%, 68.2%)
CIE-LABlab(18.42, 32.22, -10.02)
CIE-LCHlch(18.42, 33.74, 342.72°)
OKLaboklab(31% 0.0971 -0.0267)
OKLCHoklch(31% 0.101 344.7)
XYZxyz(4.4773, 2.6124, 4.5425)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51153C #15512A
analogous
#481551 #51153C #51151E
triadic
#51153C #3C5115 #153C51
tetradic
#51153C #514815 #15512A #151E51
square
#51153C #514815 #15512A #151E51
split-complementary
#51153C #1E5115 #155148
monochromatic
#180612 #200818 #51153C #822260 #B22E84

Accessibility & contrast

On white

13.79
#51153C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#51153C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51153C
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51153C#FFFFFF#000000##FFFFFF
##51153C1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B263D
Deuteranopia (green-blind)
#2D313B
Tritanopia (blue-blind)
#571426
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #51153c;
/* rgb */ color: rgb(81, 21, 60);
/* oklch */ color: oklch(31.0% 0.101 344.7);
Tailwind
colors: {
  custom: {
    50: '#845871',
    500: '#51153c',
    950: '#000000',
  },
}
SCSS
$custom: #51153c;
$custom-light: #845871;
$custom-dark: #000000;
JSON
{
  "hex": "#51153c",
  "rgb": {
    "r": 81,
    "g": 21,
    "b": 60
  },
  "hsl": {
    "h": 321,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.31,
    "c": 0.10073,
    "h": 344.7
  },
  "luminance": 0.02612
}

Semantic roles & 50–950 ramp

primary
#51153C
secondary
#398955
accent
#E27C46
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #51153C

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

Preview Lab → · Contrast checker → · Palette generator →

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