#7D402F#7D402F

#7D402F is a dark, moderate red. Relative luminance 0.082; OKLCH L 44.4% C 0.089 H 36.5°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#7D402F
RGBrgb(125, 64, 47)
HSLhsl(13, 45%, 34%)
HSVhsv(13, 62%, 49%)
CMYKcmyk(0%, 48.8%, 62.4%, 51%)
CIE-LABlab(34.46, 24.70, 22.17)
CIE-LCHlch(34.46, 33.19, 41.92°)
OKLaboklab(44.44% 0.0716 0.053)
OKLCHoklch(44.44% 0.089 36.5)
XYZxyz(10.8048, 8.2332, 3.7089)
Luminance0.0823 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D402F #2F6C7D
analogous
#7D2F45 #7D402F #7D672F
triadic
#7D402F #2F7D40 #402F7D
tetradic
#7D402F #457D2F #2F6C7D #672F7D
square
#7D402F #457D2F #2F6C7D #672F7D
split-complementary
#7D402F #2F7D67 #2F457D
monochromatic
#24120E #51291E #7D402F #A95740 #C47862

Accessibility & contrast

On white

7.94
#7D402F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7D402F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D402F
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D402F#FFFFFF#000000##FFFFFF
##7D402F1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50492D
Deuteranopia (green-blind)
#5E562E
Tritanopia (blue-blind)
#89353C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d402f;
/* rgb */ color: rgb(125, 64, 47);
/* oklch */ color: oklch(44.4% 0.089 36.5);
Tailwind
colors: {
  custom: {
    50: '#a77668',
    500: '#7d402f',
    950: '#000000',
  },
}
SCSS
$custom: #7d402f;
$custom-light: #a77668;
$custom-dark: #000000;
JSON
{
  "hex": "#7d402f",
  "rgb": {
    "r": 125,
    "g": 64,
    "b": 47
  },
  "hsl": {
    "h": 13.077,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44435,
    "c": 0.08909,
    "h": 36.5
  },
  "luminance": 0.08232
}

Semantic roles & 50–950 ramp

primary
#7D402F
secondary
#5D9AAB
accent
#B9D553
background
#FAF7F6
surface
#F4EDEB
border
#CEC8C6
text
#100806
muted
#7F7B7A

Preview Lab

Preview with #7D402F

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

Preview Lab → · Contrast checker → · Palette generator →

#7D402F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva