#7D2918#7D2918

#7D2918 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.5% C 0.120 H 33.3°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#7D2918
RGBrgb(125, 41, 24)
HSLhsl(10, 68%, 29%)
HSVhsv(10, 81%, 49%)
CMYKcmyk(0%, 67.2%, 80.8%, 51%)
CIE-LABlab(29.45, 35.47, 30.11)
CIE-LCHlch(29.45, 46.52, 40.32°)
OKLaboklab(40.53% 0.1004 0.066)
OKLCHoklch(40.53% 0.12 33.3)
XYZxyz(9.4163, 6.0132, 1.5288)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2918 #186C7D
analogous
#7D183A #7D2918 #7D5C18
triadic
#7D2918 #187D29 #29187D
tetradic
#7D2918 #3A7D18 #186C7D #5C187D
square
#7D2918 #3A7D18 #186C7D #5C187D
split-complementary
#7D2918 #187D5C #183A7D
monochromatic
#1A0805 #4A180E #7D2918 #B03A22 #D95237

Accessibility & contrast

On white

9.54
#7D2918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7D2918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2918
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2918#FFFFFF#000000##FFFFFF
##7D29181.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A15
Deuteranopia (green-blind)
#564C15
Tritanopia (blue-blind)
#8A1226
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d2918;
/* rgb */ color: rgb(125, 41, 24);
/* oklch */ color: oklch(40.5% 0.120 33.3);
Tailwind
colors: {
  custom: {
    50: '#aa6756',
    500: '#7d2918',
    950: '#000000',
  },
}
SCSS
$custom: #7d2918;
$custom-light: #aa6756;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2918",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 24
  },
  "hsl": {
    "h": 10.099,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40528,
    "c": 0.12015,
    "h": 33.3
  },
  "luminance": 0.06012
}

Semantic roles & 50–950 ramp

primary
#7D2918
secondary
#3F9EB2
accent
#CDEB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7D2918

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

Preview Lab → · Contrast checker → · Palette generator →

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