#7D2A1F#7D2A1F

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

Color values

HEX#7D2A1F
RGBrgb(125, 42, 31)
HSLhsl(7, 60%, 31%)
HSVhsv(7, 75%, 49%)
CMYKcmyk(0%, 66.4%, 75.2%, 51%)
CIE-LABlab(29.70, 35.32, 26.25)
CIE-LCHlch(29.70, 44.01, 36.63°)
OKLaboklab(40.75% 0.1014 0.0595)
OKLCHoklch(40.75% 0.118 30.4)
XYZxyz(9.5337, 6.1162, 1.9746)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2A1F #1F727D
analogous
#7D1F43 #7D2A1F #7D591F
triadic
#7D2A1F #1F7D2A #2A1F7D
tetradic
#7D2A1F #437D1F #1F727D #591F7D
square
#7D2A1F #437D1F #1F727D #591F7D
split-complementary
#7D2A1F #1F7D59 #1F437D
monochromatic
#1B0907 #4C1A13 #7D2A1F #AE3A2B #D15645

Accessibility & contrast

On white

9.45
#7D2A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2A1F
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2A1F#FFFFFF#000000##FFFFFF
##7D2A1F1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413B1D
Deuteranopia (green-blind)
#564D1C
Tritanopia (blue-blind)
#8A1528
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d2a1f;
/* rgb */ color: rgb(125, 42, 31);
/* oklch */ color: oklch(40.7% 0.118 30.4);
Tailwind
colors: {
  custom: {
    50: '#a9685b',
    500: '#7d2a1f',
    950: '#000000',
  },
}
SCSS
$custom: #7d2a1f;
$custom-light: #a9685b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2a1f",
  "rgb": {
    "r": 125,
    "g": 42,
    "b": 31
  },
  "hsl": {
    "h": 7.021,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40748,
    "c": 0.11757,
    "h": 30.4
  },
  "luminance": 0.06115
}

Semantic roles & 50–950 ramp

primary
#7D2A1F
secondary
#48A4B0
accent
#D1E344
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7D2A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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