#7D1817#7D1817

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

Color values

HEX#7D1817
RGBrgb(125, 24, 23)
HSLhsl(1, 69%, 29%)
HSVhsv(1, 82%, 49%)
CMYKcmyk(0%, 80.8%, 81.6%, 51%)
CIE-LABlab(26.95, 42.25, 28.11)
CIE-LCHlch(26.95, 50.75, 33.64°)
OKLaboklab(38.66% 0.1214 0.0613)
OKLCHoklch(38.66% 0.136 26.8)
XYZxyz(8.9398, 5.0765, 1.3196)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1817 #177C7D
analogous
#7D1749 #7D1817 #7D4B17
triadic
#7D1817 #177D18 #18177D
tetradic
#7D1817 #497D17 #177C7D #4B177D
square
#7D1817 #497D17 #177C7D #4B177D
split-complementary
#7D1817 #177D4B #17497D
monochromatic
#1A0505 #490E0D #7D1817 #B12221 #DA3635

Accessibility & contrast

On white

10.42
#7D1817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1817
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1817#FFFFFF#000000##FFFFFF
##7D18171.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383216
Deuteranopia (green-blind)
#504812
Tritanopia (blue-blind)
#8A0019
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d1817;
/* rgb */ color: rgb(125, 24, 23);
/* oklch */ color: oklch(38.7% 0.136 26.8);
Tailwind
colors: {
  custom: {
    50: '#ab5f54',
    500: '#7d1817',
    950: '#000000',
  },
}
SCSS
$custom: #7d1817;
$custom-light: #ab5f54;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1817",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 23
  },
  "hsl": {
    "h": 0.588,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38659,
    "c": 0.13601,
    "h": 26.8
  },
  "luminance": 0.05075
}

Semantic roles & 50–950 ramp

primary
#7D1817
secondary
#3EB1B2
accent
#EAEC3C
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120503
muted
#817978

Preview Lab

Preview with #7D1817

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

Preview Lab → · Contrast checker → · Palette generator →

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