#7D181B#7D181B

#7D181B is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.7% C 0.136 H 25.0°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#7D181B
RGBrgb(125, 24, 27)
HSLhsl(358, 68%, 29%)
HSVhsv(358, 81%, 49%)
CMYKcmyk(0%, 80.8%, 78.4%, 51%)
CIE-LABlab(27.00, 42.41, 25.70)
CIE-LCHlch(27.00, 49.59, 31.22°)
OKLaboklab(38.71% 0.1228 0.0573)
OKLCHoklch(38.71% 0.136 25)
XYZxyz(8.9830, 5.0938, 1.5469)
Luminance0.0509 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D181B #187D7A
analogous
#7D184E #7D181B #7D4818
triadic
#7D181B #1B7D18 #181B7D
tetradic
#7D181B #4E7D18 #187D7A #48187D
square
#7D181B #4E7D18 #187D7A #48187D
split-complementary
#7D181B #187D48 #184E7D
monochromatic
#1A0506 #4A0E10 #7D181B #B02226 #D9373C

Accessibility & contrast

On white

10.40
#7D181B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D181B
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D181B#FFFFFF#000000##FFFFFF
##7D181B1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37321A
Deuteranopia (green-blind)
#504817
Tritanopia (blue-blind)
#8A001A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d181b;
/* rgb */ color: rgb(125, 24, 27);
/* oklch */ color: oklch(38.7% 0.136 25.0);
Tailwind
colors: {
  custom: {
    50: '#aa5f57',
    500: '#7d181b',
    950: '#000000',
  },
}
SCSS
$custom: #7d181b;
$custom-light: #aa5f57;
$custom-dark: #000000;
JSON
{
  "hex": "#7d181b",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 27
  },
  "hsl": {
    "h": 358.218,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3871,
    "c": 0.13551,
    "h": 25
  },
  "luminance": 0.05092
}

Semantic roles & 50–950 ramp

primary
#7D181B
secondary
#3FB2AE
accent
#EBE63D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7D181B

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

Preview Lab → · Contrast checker → · Palette generator →

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