#7D181F#7D181F

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

Color values

HEX#7D181F
RGBrgb(125, 24, 31)
HSLhsl(356, 68%, 29%)
HSVhsv(356, 81%, 49%)
CMYKcmyk(0%, 80.8%, 75.2%, 51%)
CIE-LABlab(27.06, 42.58, 23.21)
CIE-LCHlch(27.06, 48.50, 28.60°)
OKLaboklab(38.77% 0.1243 0.0528)
OKLCHoklch(38.77% 0.135 23)
XYZxyz(9.0325, 5.1136, 1.8075)
Luminance0.0511 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D181F #187D76
analogous
#7D1852 #7D181F #7D4418
triadic
#7D181F #1F7D18 #181F7D
tetradic
#7D181F #527D18 #187D76 #44187D
square
#7D181F #527D18 #187D76 #44187D
split-complementary
#7D181F #187D44 #18527D
monochromatic
#1A0506 #4A0E12 #7D181F #B0222C #D93742

Accessibility & contrast

On white

10.38
#7D181F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D181F
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D181F#FFFFFF#000000##FFFFFF
##7D181F1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37321E
Deuteranopia (green-blind)
#50481B
Tritanopia (blue-blind)
#8A001C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d181f;
/* rgb */ color: rgb(125, 24, 31);
/* oklch */ color: oklch(38.8% 0.135 23.0);
Tailwind
colors: {
  custom: {
    50: '#aa5f5a',
    500: '#7d181f',
    950: '#000000',
  },
}
SCSS
$custom: #7d181f;
$custom-light: #aa5f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d181f",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 31
  },
  "hsl": {
    "h": 355.842,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3877,
    "c": 0.1351,
    "h": 23
  },
  "luminance": 0.05112
}

Semantic roles & 50–950 ramp

primary
#7D181F
secondary
#3FB2AA
accent
#EBDF3D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7D181F

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

Preview Lab → · Contrast checker → · Palette generator →

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