#7D1819#7D1819

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

Color values

HEX#7D1819
RGBrgb(125, 24, 25)
HSLhsl(359, 68%, 29%)
HSVhsv(359, 81%, 49%)
CMYKcmyk(0%, 80.8%, 80%, 51%)
CIE-LABlab(26.98, 42.33, 26.92)
CIE-LCHlch(26.98, 50.16, 32.45°)
OKLaboklab(38.68% 0.1221 0.0593)
OKLCHoklch(38.68% 0.136 25.9)
XYZxyz(8.9606, 5.0849, 1.4292)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1819 #187D7C
analogous
#7D184C #7D1819 #7D4A18
triadic
#7D1819 #197D18 #18197D
tetradic
#7D1819 #4C7D18 #187D7C #4A187D
square
#7D1819 #4C7D18 #187D7C #4A187D
split-complementary
#7D1819 #187D4A #184C7D
monochromatic
#1A0505 #4A0E0F #7D1819 #B02223 #D93738

Accessibility & contrast

On white

10.41
#7D1819 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1819
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1819#FFFFFF#000000##FFFFFF
##7D18191.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373218
Deuteranopia (green-blind)
#504815
Tritanopia (blue-blind)
#8A001A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d1819;
/* rgb */ color: rgb(125, 24, 25);
/* oklch */ color: oklch(38.7% 0.136 25.9);
Tailwind
colors: {
  custom: {
    50: '#ab5f56',
    500: '#7d1819',
    950: '#000000',
  },
}
SCSS
$custom: #7d1819;
$custom-light: #ab5f56;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1819",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 25
  },
  "hsl": {
    "h": 359.406,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38684,
    "c": 0.13575,
    "h": 25.9
  },
  "luminance": 0.05083
}

Semantic roles & 50–950 ramp

primary
#7D1819
secondary
#3FB2B0
accent
#EBE93D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7D1819

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

Preview Lab → · Contrast checker → · Palette generator →

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