#51153A#51153A

#51153A is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.9% C 0.099 H 346.5°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#51153A
RGBrgb(81, 21, 58)
HSLhsl(323, 59%, 20%)
HSVhsv(323, 74%, 32%)
CMYKcmyk(0%, 74.1%, 28.4%, 68.2%)
CIE-LABlab(18.33, 31.91, -8.76)
CIE-LCHlch(18.33, 33.09, 344.65°)
OKLaboklab(30.9% 0.0966 -0.0232)
OKLCHoklch(30.9% 0.099 346.5)
XYZxyz(4.4254, 2.5916, 4.2693)
Luminance0.0259 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51153A #15512C
analogous
#4A1551 #51153A #51151C
triadic
#51153A #3A5115 #153A51
tetradic
#51153A #514A15 #15512C #151C51
square
#51153A #514A15 #15512C #151C51
split-complementary
#51153A #1C5115 #15514A
monochromatic
#180611 #200817 #51153A #82225D #B22E80

Accessibility & contrast

On white

13.83
#51153A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51153A
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51153A#FFFFFF#000000##FFFFFF
##51153A1.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C263B
Deuteranopia (green-blind)
#2E3039
Tritanopia (blue-blind)
#571425
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #51153a;
/* rgb */ color: rgb(81, 21, 58);
/* oklch */ color: oklch(30.9% 0.099 346.5);
Tailwind
colors: {
  custom: {
    50: '#845870',
    500: '#51153a',
    950: '#000000',
  },
}
SCSS
$custom: #51153a;
$custom-light: #845870;
$custom-dark: #000000;
JSON
{
  "hex": "#51153a",
  "rgb": {
    "r": 81,
    "g": 21,
    "b": 58
  },
  "hsl": {
    "h": 323,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.30903,
    "c": 0.09936,
    "h": 346.5
  },
  "luminance": 0.02591
}

Semantic roles & 50–950 ramp

primary
#51153A
secondary
#398958
accent
#E28246
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #51153A

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

Preview Lab → · Contrast checker → · Palette generator →

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