#7D181E#7D181E

#7D181E is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.135 H 23.5°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#7D181E
RGBrgb(125, 24, 30)
HSLhsl(356, 68%, 29%)
HSVhsv(356, 81%, 49%)
CMYKcmyk(0%, 80.8%, 76%, 51%)
CIE-LABlab(27.04, 42.54, 23.84)
CIE-LCHlch(27.04, 48.76, 29.27°)
OKLaboklab(38.75% 0.124 0.054)
OKLCHoklch(38.75% 0.135 23.5)
XYZxyz(9.0195, 5.1084, 1.7392)
Luminance0.0511 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D181E #187D77
analogous
#7D1851 #7D181E #7D4518
triadic
#7D181E #1E7D18 #181E7D
tetradic
#7D181E #517D18 #187D77 #45187D
square
#7D181E #517D18 #187D77 #45187D
split-complementary
#7D181E #187D45 #18517D
monochromatic
#1A0506 #4A0E12 #7D181E #B0222A #D93740

Accessibility & contrast

On white

10.39
#7D181E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7D181E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D181E
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D181E#FFFFFF#000000##FFFFFF
##7D181E1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37321D
Deuteranopia (green-blind)
#50481A
Tritanopia (blue-blind)
#8A001B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d181e;
/* rgb */ color: rgb(125, 24, 30);
/* oklch */ color: oklch(38.8% 0.135 23.5);
Tailwind
colors: {
  custom: {
    50: '#aa5f5a',
    500: '#7d181e',
    950: '#000000',
  },
}
SCSS
$custom: #7d181e;
$custom-light: #aa5f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d181e",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 30
  },
  "hsl": {
    "h": 356.436,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38754,
    "c": 0.13519,
    "h": 23.5
  },
  "luminance": 0.05107
}

Semantic roles & 50–950 ramp

primary
#7D181E
secondary
#3FB2AB
accent
#EBE03D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7D181E

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

Preview Lab → · Contrast checker → · Palette generator →

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