#7D331C#7D331C

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

Color values

HEX#7D331C
RGBrgb(125, 51, 28)
HSLhsl(14, 63%, 30%)
HSVhsv(14, 78%, 49%)
CMYKcmyk(0%, 59.2%, 77.6%, 51%)
CIE-LABlab(31.38, 30.66, 29.86)
CIE-LCHlch(31.38, 42.80, 44.24°)
OKLaboklab(42% 0.0864 0.0666)
OKLCHoklch(42% 0.109 37.6)
XYZxyz(9.8519, 6.8128, 1.8946)
Luminance0.0681 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D331C #1C667D
analogous
#7D1C35 #7D331C #7D641C
triadic
#7D331C #1C7D33 #331C7D
tetradic
#7D331C #357D1C #1C667D #641C7D
square
#7D331C #357D1C #1C667D #641C7D
split-complementary
#7D331C #1C7D64 #1C357D
monochromatic
#190A06 #4B1F11 #7D331C #AF4727 #D4633F

Accessibility & contrast

On white

8.89
#7D331C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7D331C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D331C
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D331C#FFFFFF#000000##FFFFFF
##7D331C1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474019
Deuteranopia (green-blind)
#5A501A
Tritanopia (blue-blind)
#8A232E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d331c;
/* rgb */ color: rgb(125, 51, 28);
/* oklch */ color: oklch(42.0% 0.109 37.6);
Tailwind
colors: {
  custom: {
    50: '#a96d59',
    500: '#7d331c',
    950: '#000000',
  },
}
SCSS
$custom: #7d331c;
$custom-light: #a96d59;
$custom-dark: #000000;
JSON
{
  "hex": "#7d331c",
  "rgb": {
    "r": 125,
    "g": 51,
    "b": 28
  },
  "hsl": {
    "h": 14.227,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.42,
    "c": 0.10903,
    "h": 37.6
  },
  "luminance": 0.06811
}

Semantic roles & 50–950 ramp

primary
#7D331C
secondary
#4497B1
accent
#BFE641
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7D331C

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

Preview Lab → · Contrast checker → · Palette generator →

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