#7D402D#7D402D

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

Color values

HEX#7D402D
RGBrgb(125, 64, 45)
HSLhsl(14, 47%, 33%)
HSVhsv(14, 64%, 49%)
CMYKcmyk(0%, 48.8%, 64%, 51%)
CIE-LABlab(34.43, 24.54, 23.35)
CIE-LCHlch(34.43, 33.87, 43.58°)
OKLaboklab(44.4% 0.0708 0.0554)
OKLCHoklch(44.4% 0.09 38)
XYZxyz(10.7654, 8.2174, 3.5013)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D402D #2D6A7D
analogous
#7D2D42 #7D402D #7D682D
triadic
#7D402D #2D7D40 #402D7D
tetradic
#7D402D #427D2D #2D6A7D #682D7D
square
#7D402D #427D2D #2D6A7D #682D7D
split-complementary
#7D402D #2D7D68 #2D427D
monochromatic
#23120D #50291D #7D402D #AA573D #C5775F

Accessibility & contrast

On white

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

On black

2.64
#7D402D on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7D402D#FFFFFF#000000##FFFFFF
##7D402D1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50492B
Deuteranopia (green-blind)
#5F562C
Tritanopia (blue-blind)
#89353B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d402d;
/* rgb */ color: rgb(125, 64, 45);
/* oklch */ color: oklch(44.4% 0.090 38.0);
Tailwind
colors: {
  custom: {
    50: '#a77666',
    500: '#7d402d',
    950: '#000000',
  },
}
SCSS
$custom: #7d402d;
$custom-light: #a77666;
$custom-dark: #000000;
JSON
{
  "hex": "#7d402d",
  "rgb": {
    "r": 125,
    "g": 64,
    "b": 45
  },
  "hsl": {
    "h": 14.25,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.444,
    "c": 0.08989,
    "h": 38
  },
  "luminance": 0.08216
}

Semantic roles & 50–950 ramp

primary
#7D402D
secondary
#5A98AC
accent
#B7D751
background
#FAF7F6
surface
#F4EDEB
border
#CEC8C6
text
#100806
muted
#7F7B7A

Preview Lab

Preview with #7D402D

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

Preview Lab → · Contrast checker → · Palette generator →

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