#7D2E1A#7D2E1A

#7D2E1A is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.2% C 0.115 H 35.3°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#7D2E1A
RGBrgb(125, 46, 26)
HSLhsl(12, 66%, 30%)
HSVhsv(12, 79%, 49%)
CMYKcmyk(0%, 63.2%, 79.2%, 51%)
CIE-LABlab(30.38, 33.13, 29.93)
CIE-LCHlch(30.38, 44.65, 42.09°)
OKLaboklab(41.24% 0.0936 0.0662)
OKLCHoklch(41.24% 0.115 35.3)
XYZxyz(9.6219, 6.3899, 1.7038)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2E1A #1A697D
analogous
#7D1A38 #7D2E1A #7D601A
triadic
#7D2E1A #1A7D2E #2E1A7D
tetradic
#7D2E1A #387D1A #1A697D #601A7D
square
#7D2E1A #387D1A #1A697D #601A7D
split-complementary
#7D2E1A #1A7D60 #1A387D
monochromatic
#190905 #4A1B0F #7D2E1A #B04125 #D65A3B

Accessibility & contrast

On white

9.22
#7D2E1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7D2E1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2E1A
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2E1A#FFFFFF#000000##FFFFFF
##7D2E1A1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D17
Deuteranopia (green-blind)
#584E17
Tritanopia (blue-blind)
#8A1B2A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d2e1a;
/* rgb */ color: rgb(125, 46, 26);
/* oklch */ color: oklch(41.2% 0.115 35.3);
Tailwind
colors: {
  custom: {
    50: '#a96a58',
    500: '#7d2e1a',
    950: '#000000',
  },
}
SCSS
$custom: #7d2e1a;
$custom-light: #a96a58;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2e1a",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 26
  },
  "hsl": {
    "h": 12.121,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41235,
    "c": 0.11462,
    "h": 35.3
  },
  "luminance": 0.06389
}

Semantic roles & 50–950 ramp

primary
#7D2E1A
secondary
#429BB1
accent
#C6E93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7D2E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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