#7D1718#7D1718

#7D1718 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.6% C 0.137 H 26.1°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#7D1718
RGBrgb(125, 23, 24)
HSLhsl(359, 69%, 29%)
HSVhsv(359, 82%, 49%)
CMYKcmyk(0%, 81.6%, 80.8%, 51%)
CIE-LABlab(26.85, 42.61, 27.40)
CIE-LCHlch(26.85, 50.66, 32.74°)
OKLaboklab(38.59% 0.1228 0.0601)
OKLCHoklch(38.59% 0.137 26.1)
XYZxyz(8.9298, 5.0401, 1.3666)
Luminance0.0504 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1718 #177D7C
analogous
#7D174B #7D1718 #7D4917
triadic
#7D1718 #187D17 #17187D
tetradic
#7D1718 #4B7D17 #177D7C #49177D
square
#7D1718 #4B7D17 #177D7C #49177D
split-complementary
#7D1718 #177D49 #174B7D
monochromatic
#1A0505 #490D0E #7D1718 #B12122 #DA3536

Accessibility & contrast

On white

10.46
#7D1718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7D1718 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1718
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1718#FFFFFF#000000##FFFFFF
##7D17181.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373117
Deuteranopia (green-blind)
#504714
Tritanopia (blue-blind)
#8A0019
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7d1718;
/* rgb */ color: rgb(125, 23, 24);
/* oklch */ color: oklch(38.6% 0.137 26.1);
Tailwind
colors: {
  custom: {
    50: '#ab5f55',
    500: '#7d1718',
    950: '#000000',
  },
}
SCSS
$custom: #7d1718;
$custom-light: #ab5f55;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1718",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 24
  },
  "hsl": {
    "h": 359.412,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38586,
    "c": 0.13668,
    "h": 26.1
  },
  "luminance": 0.05039
}

Semantic roles & 50–950 ramp

primary
#7D1718
secondary
#3EB2B1
accent
#ECEA3C
background
#FBF5F4
surface
#F6EAE8
border
#D0C6C4
text
#120503
muted
#817978

Preview Lab

Preview with #7D1718

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

Preview Lab → · Contrast checker → · Palette generator →

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