#7D2F1F#7D2F1F

#7D2F1F is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.4% C 0.112 H 33.3°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#7D2F1F
RGBrgb(125, 47, 31)
HSLhsl(10, 60%, 31%)
HSVhsv(10, 75%, 49%)
CMYKcmyk(0%, 62.4%, 75.2%, 51%)
CIE-LABlab(30.62, 32.87, 27.29)
CIE-LCHlch(30.62, 42.72, 39.70°)
OKLaboklab(41.44% 0.0938 0.0617)
OKLCHoklch(41.44% 0.112 33.3)
XYZxyz(9.7223, 6.4933, 2.0374)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2F1F #1F6D7D
analogous
#7D1F3E #7D2F1F #7D5E1F
triadic
#7D2F1F #1F7D2F #2F1F7D
tetradic
#7D2F1F #3E7D1F #1F6D7D #5E1F7D
square
#7D2F1F #3E7D1F #1F6D7D #5E1F7D
split-complementary
#7D2F1F #1F7D5E #1F3E7D
monochromatic
#1B0A07 #4C1D13 #7D2F1F #AE412B #D15D45

Accessibility & contrast

On white

9.14
#7D2F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7D2F1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2F1F
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2F1F#FFFFFF#000000##FFFFFF
##7D2F1F1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D1D
Deuteranopia (green-blind)
#584F1D
Tritanopia (blue-blind)
#8A1D2C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d2f1f;
/* rgb */ color: rgb(125, 47, 31);
/* oklch */ color: oklch(41.4% 0.112 33.3);
Tailwind
colors: {
  custom: {
    50: '#a96b5b',
    500: '#7d2f1f',
    950: '#000000',
  },
}
SCSS
$custom: #7d2f1f;
$custom-light: #a96b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2f1f",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 31
  },
  "hsl": {
    "h": 10.213,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41442,
    "c": 0.11228,
    "h": 33.3
  },
  "luminance": 0.06492
}

Semantic roles & 50–950 ramp

primary
#7D2F1F
secondary
#489EB0
accent
#C8E344
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7D2F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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