#7D2C1F#7D2C1F

#7D2C1F is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.0% C 0.115 H 31.5°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#7D2C1F
RGBrgb(125, 44, 31)
HSLhsl(8, 60%, 31%)
HSVhsv(8, 75%, 49%)
CMYKcmyk(0%, 64.8%, 75.2%, 51%)
CIE-LABlab(30.06, 34.36, 26.66)
CIE-LCHlch(30.06, 43.49, 37.81°)
OKLaboklab(41.02% 0.0984 0.0604)
OKLCHoklch(41.02% 0.115 31.5)
XYZxyz(9.6065, 6.2616, 1.9988)
Luminance0.0626 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2C1F #1F707D
analogous
#7D1F41 #7D2C1F #7D5B1F
triadic
#7D2C1F #1F7D2C #2C1F7D
tetradic
#7D2C1F #417D1F #1F707D #5B1F7D
square
#7D2C1F #417D1F #1F707D #5B1F7D
split-complementary
#7D2C1F #1F7D5B #1F417D
monochromatic
#1B0907 #4C1B13 #7D2C1F #AE3D2B #D15945

Accessibility & contrast

On white

9.33
#7D2C1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7D2C1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2C1F
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2C1F#FFFFFF#000000##FFFFFF
##7D2C1F1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C1D
Deuteranopia (green-blind)
#564D1C
Tritanopia (blue-blind)
#8A1829
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d2c1f;
/* rgb */ color: rgb(125, 44, 31);
/* oklch */ color: oklch(41.0% 0.115 31.5);
Tailwind
colors: {
  custom: {
    50: '#a9695b',
    500: '#7d2c1f',
    950: '#000000',
  },
}
SCSS
$custom: #7d2c1f;
$custom-light: #a9695b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2c1f",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 31
  },
  "hsl": {
    "h": 8.298,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41019,
    "c": 0.11545,
    "h": 31.5
  },
  "luminance": 0.0626
}

Semantic roles & 50–950 ramp

primary
#7D2C1F
secondary
#48A2B0
accent
#CDE344
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7D2C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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