#51243A#51243A

#51243A is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.1% C 0.073 H 351.2°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#51243A
RGBrgb(81, 36, 58)
HSLhsl(331, 38%, 23%)
HSVhsv(331, 56%, 32%)
CMYKcmyk(0%, 55.6%, 28.4%, 68.2%)
CIE-LABlab(21.27, 24.01, -4.32)
CIE-LCHlch(21.27, 24.40, 349.80°)
OKLaboklab(33.09% 0.0724 -0.0112)
OKLCHoklch(33.09% 0.073 351.2)
XYZxyz(4.7881, 3.3170, 4.3902)
Luminance0.0332 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51243A #24513B
analogous
#512450 #51243A #512424
triadic
#51243A #3A5124 #243A51
tetradic
#51243A #505124 #24513B #242451
square
#51243A #505124 #24513B #242451
split-complementary
#51243A #245124 #245051
monochromatic
#15090F #27111C #51243A #7B3758 #A64A77

Accessibility & contrast

On white

12.62
#51243A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#51243A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51243A
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51243A#FFFFFF#000000##FFFFFF
##51243A1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292E3B
Deuteranopia (green-blind)
#353639
Tritanopia (blue-blind)
#57222C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #51243a;
/* rgb */ color: rgb(81, 36, 58);
/* oklch */ color: oklch(33.1% 0.073 351.2);
Tailwind
colors: {
  custom: {
    50: '#836070',
    500: '#51243a',
    950: '#000000',
  },
}
SCSS
$custom: #51243a;
$custom-light: #836070;
$custom-dark: #000000;
JSON
{
  "hex": "#51243a",
  "rgb": {
    "r": 81,
    "g": 36,
    "b": 58
  },
  "hsl": {
    "h": 330.667,
    "s": 38.462,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33086,
    "c": 0.07328,
    "h": 351.2
  },
  "luminance": 0.03317
}

Semantic roles & 50–950 ramp

primary
#51243A
secondary
#4C8569
accent
#CE9559
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0507
muted
#7C797A

Preview Lab

Preview with #51243A

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

Preview Lab → · Contrast checker → · Palette generator →

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