#7D2A1B#7D2A1B

#7D2A1B is a dark, moderate red. Relative luminance 0.061; OKLCH L 40.7% C 0.118 H 32.4°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#7D2A1B
RGBrgb(125, 42, 27)
HSLhsl(9, 64%, 30%)
HSVhsv(9, 78%, 49%)
CMYKcmyk(0%, 66.4%, 78.4%, 51%)
CIE-LABlab(29.65, 35.13, 28.59)
CIE-LCHlch(29.65, 45.29, 39.14°)
OKLaboklab(40.7% 0.1 0.0636)
OKLCHoklch(40.7% 0.118 32.4)
XYZxyz(9.4843, 6.0964, 1.7140)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2A1B #1B6E7D
analogous
#7D1B3D #7D2A1B #7D5B1B
triadic
#7D2A1B #1B7D2A #2A1B7D
tetradic
#7D2A1B #3D7D1B #1B6E7D #5B1B7D
square
#7D2A1B #3D7D1B #1B6E7D #5B1B7D
split-complementary
#7D2A1B #1B7D5B #1B3D7D
monochromatic
#190805 #4B1910 #7D2A1B #AF3B26 #D5553D

Accessibility & contrast

On white

9.46
#7D2A1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7D2A1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2A1B
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2A1B#FFFFFF#000000##FFFFFF
##7D2A1B1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A19
Deuteranopia (green-blind)
#564D18
Tritanopia (blue-blind)
#8A1427
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d2a1b;
/* rgb */ color: rgb(125, 42, 27);
/* oklch */ color: oklch(40.7% 0.118 32.4);
Tailwind
colors: {
  custom: {
    50: '#aa6858',
    500: '#7d2a1b',
    950: '#000000',
  },
}
SCSS
$custom: #7d2a1b;
$custom-light: #aa6858;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2a1b",
  "rgb": {
    "r": 125,
    "g": 42,
    "b": 27
  },
  "hsl": {
    "h": 9.184,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40695,
    "c": 0.11846,
    "h": 32.4
  },
  "luminance": 0.06095
}

Semantic roles & 50–950 ramp

primary
#7D2A1B
secondary
#43A0B1
accent
#CEE740
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7D2A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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