#51243B#51243B

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

Color values

HEX#51243B
RGBrgb(81, 36, 59)
HSLhsl(329, 38%, 23%)
HSVhsv(329, 56%, 32%)
CMYKcmyk(0%, 55.6%, 27.2%, 68.2%)
CIE-LABlab(21.31, 24.17, -4.95)
CIE-LCHlch(21.31, 24.68, 348.42°)
OKLaboklab(33.13% 0.0728 -0.0129)
OKLCHoklch(33.13% 0.074 350)
XYZxyz(4.8138, 3.3273, 4.5255)
Luminance0.0333 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51243B #24513A
analogous
#502451 #51243B #512424
triadic
#51243B #3B5124 #243B51
tetradic
#51243B #515024 #24513A #242451
square
#51243B #515024 #24513A #242451
split-complementary
#51243B #245124 #245150
monochromatic
#15090F #27111C #51243B #7B375A #A64A79

Accessibility & contrast

On white

12.61
#51243B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#51243B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51243B
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51243B#FFFFFF#000000##FFFFFF
##51243B1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292E3C
Deuteranopia (green-blind)
#35363A
Tritanopia (blue-blind)
#56232D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #51243b;
/* rgb */ color: rgb(81, 36, 59);
/* oklch */ color: oklch(33.1% 0.074 350.0);
Tailwind
colors: {
  custom: {
    50: '#836070',
    500: '#51243b',
    950: '#000000',
  },
}
SCSS
$custom: #51243b;
$custom-light: #836070;
$custom-dark: #000000;
JSON
{
  "hex": "#51243b",
  "rgb": {
    "r": 81,
    "g": 36,
    "b": 59
  },
  "hsl": {
    "h": 329.333,
    "s": 38.462,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33127,
    "c": 0.07392,
    "h": 350
  },
  "luminance": 0.03327
}

Semantic roles & 50–950 ramp

primary
#51243B
secondary
#4C8568
accent
#CE9359
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0507
muted
#7C797A

Preview Lab

Preview with #51243B

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

Preview Lab → · Contrast checker → · Palette generator →

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