#51152A#51152A

#51152A is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.2% C 0.091 H 2.9°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#51152A
RGBrgb(81, 21, 42)
HSLhsl(339, 59%, 20%)
HSVhsv(339, 74%, 32%)
CMYKcmyk(0%, 74.1%, 48.1%, 68.2%)
CIE-LABlab(17.71, 29.78, 1.66)
CIE-LCHlch(17.71, 29.83, 3.19°)
OKLaboklab(30.24% 0.0911 0.0046)
OKLCHoklch(30.24% 0.091 2.9)
XYZxyz(4.0797, 2.4533, 2.4487)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51152A #15513C
analogous
#511548 #51152A #511E15
triadic
#51152A #2A5115 #152A51
tetradic
#51152A #485115 #15513C #1E1551
square
#51152A #485115 #15513C #1E1551
split-complementary
#51152A #15511E #154851
monochromatic
#18060D #200811 #51152A #822243 #B22E5C

Accessibility & contrast

On white

14.09
#51152A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51152A
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51152A#FFFFFF#000000##FFFFFF
##51152A1.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22242B
Deuteranopia (green-blind)
#323029
Tritanopia (blue-blind)
#580D1D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #51152a;
/* rgb */ color: rgb(81, 21, 42);
/* oklch */ color: oklch(30.2% 0.091 2.9);
Tailwind
colors: {
  custom: {
    50: '#855763',
    500: '#51152a',
    950: '#000000',
  },
}
SCSS
$custom: #51152a;
$custom-light: #855763;
$custom-dark: #000000;
JSON
{
  "hex": "#51152a",
  "rgb": {
    "r": 81,
    "g": 21,
    "b": 42
  },
  "hsl": {
    "h": 339,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.30242,
    "c": 0.09118,
    "h": 2.9
  },
  "luminance": 0.02453
}

Semantic roles & 50–950 ramp

primary
#51152A
secondary
#39896D
accent
#E2AB46
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #51152A

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

Preview Lab → · Contrast checker → · Palette generator →

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