#7D331F#7D331F

#7D331F is a dark, moderate red. Relative luminance 0.068; OKLCH L 42.0% C 0.108 H 36.0°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#7D331F
RGBrgb(125, 51, 31)
HSLhsl(13, 60%, 31%)
HSVhsv(13, 75%, 49%)
CMYKcmyk(0%, 59.2%, 75.2%, 51%)
CIE-LABlab(31.41, 30.81, 28.17)
CIE-LCHlch(31.41, 41.74, 42.44°)
OKLaboklab(42.04% 0.0874 0.0636)
OKLCHoklch(42.04% 0.108 36)
XYZxyz(9.8896, 6.8279, 2.0932)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D331F #1F697D
analogous
#7D1F3A #7D331F #7D621F
triadic
#7D331F #1F7D33 #331F7D
tetradic
#7D331F #3A7D1F #1F697D #621F7D
square
#7D331F #3A7D1F #1F697D #621F7D
split-complementary
#7D331F #1F7D62 #1F3A7D
monochromatic
#1B0B07 #4C1F13 #7D331F #AE472B #D16345

Accessibility & contrast

On white

8.88
#7D331F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7D331F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D331F
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D331F#FFFFFF#000000##FFFFFF
##7D331F1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47401D
Deuteranopia (green-blind)
#59501D
Tritanopia (blue-blind)
#8A232F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d331f;
/* rgb */ color: rgb(125, 51, 31);
/* oklch */ color: oklch(42.0% 0.108 36.0);
Tailwind
colors: {
  custom: {
    50: '#a96d5b',
    500: '#7d331f',
    950: '#000000',
  },
}
SCSS
$custom: #7d331f;
$custom-light: #a96d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d331f",
  "rgb": {
    "r": 125,
    "g": 51,
    "b": 31
  },
  "hsl": {
    "h": 12.766,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42038,
    "c": 0.10811,
    "h": 36
  },
  "luminance": 0.06827
}

Semantic roles & 50–950 ramp

primary
#7D331F
secondary
#489AB0
accent
#C2E344
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7D331F

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

Preview Lab → · Contrast checker → · Palette generator →

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