#51242E#51242E

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

Color values

HEX#51242E
RGBrgb(81, 36, 46)
HSLhsl(347, 38%, 23%)
HSVhsv(347, 56%, 32%)
CMYKcmyk(0%, 55.6%, 43.2%, 68.2%)
CIE-LABlab(20.86, 22.23, 3.38)
CIE-LCHlch(20.86, 22.49, 8.64°)
OKLaboklab(32.64% 0.0675 0.009)
OKLCHoklch(32.64% 0.068 7.6)
XYZxyz(4.5176, 3.2088, 2.9657)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51242E #245147
analogous
#512444 #51242E #513024
triadic
#51242E #2E5124 #242E51
tetradic
#51242E #445124 #245147 #302451
square
#51242E #445124 #245147 #302451
split-complementary
#51242E #245130 #244451
monochromatic
#15090C #271116 #51242E #7B3746 #A64A5E

Accessibility & contrast

On white

12.79
#51242E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51242E
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51242E#FFFFFF#000000##FFFFFF
##51242E1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2D2E
Deuteranopia (green-blind)
#38352D
Tritanopia (blue-blind)
#581F28
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #51242e;
/* rgb */ color: rgb(81, 36, 46);
/* oklch */ color: oklch(32.6% 0.068 7.6);
Tailwind
colors: {
  custom: {
    50: '#846066',
    500: '#51242e',
    950: '#000000',
  },
}
SCSS
$custom: #51242e;
$custom-light: #846066;
$custom-dark: #000000;
JSON
{
  "hex": "#51242e",
  "rgb": {
    "r": 81,
    "g": 36,
    "b": 46
  },
  "hsl": {
    "h": 346.667,
    "s": 38.462,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32643,
    "c": 0.06811,
    "h": 7.6
  },
  "luminance": 0.03208
}

Semantic roles & 50–950 ramp

primary
#51242E
secondary
#4C8578
accent
#CEB459
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0506
muted
#7C797A

Preview Lab

Preview with #51242E

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

Preview Lab → · Contrast checker → · Palette generator →

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