#51242B#51242B

#51242B is a dark, moderate red. Relative luminance 0.032; OKLCH L 32.5% C 0.068 H 11.8°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#51242B
RGBrgb(81, 36, 43)
HSLhsl(351, 38%, 23%)
HSVhsv(351, 56%, 32%)
CMYKcmyk(0%, 55.6%, 46.9%, 68.2%)
CIE-LABlab(20.77, 21.84, 5.33)
CIE-LCHlch(20.77, 22.48, 13.72°)
OKLaboklab(32.55% 0.0662 0.0139)
OKLCHoklch(32.55% 0.068 11.8)
XYZxyz(4.4605, 3.1860, 2.6651)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51242B #24514A
analogous
#512441 #51242B #513324
triadic
#51242B #2B5124 #242B51
tetradic
#51242B #415124 #24514A #332451
square
#51242B #415124 #24514A #332451
split-complementary
#51242B #245133 #244151
monochromatic
#15090B #271115 #51242B #7B3741 #A64A58

Accessibility & contrast

On white

12.83
#51242B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#51242B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51242B
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51242B#FFFFFF#000000##FFFFFF
##51242B1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2C2B
Deuteranopia (green-blind)
#38352A
Tritanopia (blue-blind)
#581F27
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #51242b;
/* rgb */ color: rgb(81, 36, 43);
/* oklch */ color: oklch(32.5% 0.068 11.8);
Tailwind
colors: {
  custom: {
    50: '#846064',
    500: '#51242b',
    950: '#000000',
  },
}
SCSS
$custom: #51242b;
$custom-light: #846064;
$custom-dark: #000000;
JSON
{
  "hex": "#51242b",
  "rgb": {
    "r": 81,
    "g": 36,
    "b": 43
  },
  "hsl": {
    "h": 350.667,
    "s": 38.462,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32548,
    "c": 0.0676,
    "h": 11.8
  },
  "luminance": 0.03186
}

Semantic roles & 50–950 ramp

primary
#51242B
secondary
#4C857C
accent
#CEBC59
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0505
muted
#7C7979

Preview Lab

Preview with #51242B

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

Preview Lab → · Contrast checker → · Palette generator →

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