#51402A#51402A

#51402A is a dark, muted orange. Relative luminance 0.056; OKLCH L 38.4% C 0.042 H 73.2°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#51402A
RGBrgb(81, 64, 42)
HSLhsl(34, 32%, 24%)
HSVhsv(34, 48%, 32%)
CMYKcmyk(0%, 21%, 48.1%, 68.2%)
CIE-LABlab(28.34, 3.97, 16.24)
CIE-LCHlch(28.34, 16.71, 76.26°)
OKLaboklab(38.37% 0.012 0.0399)
OKLCHoklch(38.37% 0.042 73.2)
XYZxyz(5.6448, 5.5836, 2.9704)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51402A #2A3B51
analogous
#512D2A #51402A #4F512A
triadic
#51402A #2A5140 #402A51
tetradic
#51402A #2A512D #2A3B51 #512A4F
square
#51402A #2A512D #2A3B51 #512A4F
split-complementary
#51402A #2A4F51 #2D2A51
monochromatic
#14100A #292015 #51402A #79603F #A28054

Accessibility & contrast

On white

9.92
#51402A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#51402A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51402A
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51402A#FFFFFF#000000##FFFFFF
##51402A1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464028
Deuteranopia (green-blind)
#4A442B
Tritanopia (blue-blind)
#573C3A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #51402a;
/* rgb */ color: rgb(81, 64, 42);
/* oklch */ color: oklch(38.4% 0.042 73.2);
Tailwind
colors: {
  custom: {
    50: '#837463',
    500: '#51402a',
    950: '#000000',
  },
}
SCSS
$custom: #51402a;
$custom-light: #837463;
$custom-dark: #000000;
JSON
{
  "hex": "#51402a",
  "rgb": {
    "r": 81,
    "g": 64,
    "b": 42
  },
  "hsl": {
    "h": 33.846,
    "s": 31.707,
    "l": 24.118
  },
  "oklch": {
    "l": 0.3837,
    "c": 0.04167,
    "h": 73.2
  },
  "luminance": 0.05583
}

Semantic roles & 50–950 ramp

primary
#51402A
secondary
#546883
accent
#8DC860
background
#F8F7F5
surface
#EFEDEA
border
#CAC8C6
text
#0B0805
muted
#7C7B79

Preview Lab

Preview with #51402A

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

Preview Lab → · Contrast checker → · Palette generator →

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