#7D402C#7D402C

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

Color values

HEX#7D402C
RGBrgb(125, 64, 44)
HSLhsl(15, 48%, 33%)
HSVhsv(15, 65%, 49%)
CMYKcmyk(0%, 48.8%, 64.8%, 51%)
CIE-LABlab(34.42, 24.46, 23.94)
CIE-LCHlch(34.42, 34.23, 44.38°)
OKLaboklab(44.38% 0.0704 0.0566)
OKLCHoklch(44.38% 0.09 38.8)
XYZxyz(10.7463, 8.2098, 3.4011)
Luminance0.0821 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D402C #2C697D
analogous
#7D2C40 #7D402C #7D682C
triadic
#7D402C #2C7D40 #402C7D
tetradic
#7D402C #407D2C #2C697D #682C7D
square
#7D402C #407D2C #2C697D #682C7D
split-complementary
#7D402C #2C7D68 #2C407D
monochromatic
#22120C #50291C #7D402C #AA573C #C6775D

Accessibility & contrast

On white

7.95
#7D402C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D402C
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D402C#FFFFFF#000000##FFFFFF
##7D402C1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d402c;
/* rgb */ color: rgb(125, 64, 44);
/* oklch */ color: oklch(44.4% 0.090 38.8);
Tailwind
colors: {
  custom: {
    50: '#a77665',
    500: '#7d402c',
    950: '#000000',
  },
}
SCSS
$custom: #7d402c;
$custom-light: #a77665;
$custom-dark: #000000;
JSON
{
  "hex": "#7d402c",
  "rgb": {
    "r": 125,
    "g": 64,
    "b": 44
  },
  "hsl": {
    "h": 14.815,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44383,
    "c": 0.0903,
    "h": 38.8
  },
  "luminance": 0.08209
}

Semantic roles & 50–950 ramp

primary
#7D402C
secondary
#5998AC
accent
#B6D850
background
#FAF7F6
surface
#F4EDEB
border
#CEC8C6
text
#100805
muted
#7F7B7A

Preview Lab

Preview with #7D402C

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

Preview Lab → · Contrast checker → · Palette generator →

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