#7D181C#7D181C

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

Color values

HEX#7D181C
RGBrgb(125, 24, 28)
HSLhsl(358, 68%, 29%)
HSVhsv(358, 81%, 49%)
CMYKcmyk(0%, 80.8%, 77.6%, 51%)
CIE-LABlab(27.01, 42.45, 25.08)
CIE-LCHlch(27.01, 49.31, 30.58°)
OKLaboklab(38.73% 0.1232 0.0562)
OKLCHoklch(38.73% 0.135 24.5)
XYZxyz(8.9947, 5.0985, 1.6089)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D181C #187D79
analogous
#7D184F #7D181C #7D4718
triadic
#7D181C #1C7D18 #181C7D
tetradic
#7D181C #4F7D18 #187D79 #47187D
square
#7D181C #4F7D18 #187D79 #47187D
split-complementary
#7D181C #187D47 #184F7D
monochromatic
#1A0506 #4A0E10 #7D181C #B02228 #D9373D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D181C#FFFFFF#000000##FFFFFF
##7D181C1.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)
#37321B
Deuteranopia (green-blind)
#504818
Tritanopia (blue-blind)
#8A001B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d181c;
/* rgb */ color: rgb(125, 24, 28);
/* oklch */ color: oklch(38.7% 0.135 24.5);
Tailwind
colors: {
  custom: {
    50: '#aa5f58',
    500: '#7d181c',
    950: '#000000',
  },
}
SCSS
$custom: #7d181c;
$custom-light: #aa5f58;
$custom-dark: #000000;
JSON
{
  "hex": "#7d181c",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 28
  },
  "hsl": {
    "h": 357.624,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38725,
    "c": 0.1354,
    "h": 24.5
  },
  "luminance": 0.05097
}

Semantic roles & 50–950 ramp

primary
#7D181C
secondary
#3FB2AD
accent
#EBE43D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7D181C

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

Preview Lab → · Contrast checker → · Palette generator →

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