#7D1F17#7D1F17

#7D1F17 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.3% C 0.130 H 29.2°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#7D1F17
RGBrgb(125, 31, 23)
HSLhsl(5, 69%, 29%)
HSVhsv(5, 82%, 49%)
CMYKcmyk(0%, 75.2%, 81.6%, 51%)
CIE-LABlab(27.85, 39.74, 29.05)
CIE-LCHlch(27.85, 49.22, 36.17°)
OKLaboklab(39.33% 0.1135 0.0633)
OKLCHoklch(39.33% 0.13 29.2)
XYZxyz(9.1032, 5.4032, 1.3740)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F17 #17757D
analogous
#7D1742 #7D1F17 #7D5217
triadic
#7D1F17 #177D1F #1F177D
tetradic
#7D1F17 #427D17 #17757D #52177D
square
#7D1F17 #427D17 #17757D #52177D
split-complementary
#7D1F17 #177D52 #17427D
monochromatic
#1A0605 #49120D #7D1F17 #B12C21 #DA4235

Accessibility & contrast

On white

10.09
#7D1F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7D1F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1F17
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F17#FFFFFF#000000##FFFFFF
##7D1F171.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3515
Deuteranopia (green-blind)
#524913
Tritanopia (blue-blind)
#8A001E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1f17;
/* rgb */ color: rgb(125, 31, 23);
/* oklch */ color: oklch(39.3% 0.130 29.2);
Tailwind
colors: {
  custom: {
    50: '#aa6255',
    500: '#7d1f17',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f17;
$custom-light: #aa6255;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f17",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 23
  },
  "hsl": {
    "h": 4.706,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39331,
    "c": 0.12999,
    "h": 29.2
  },
  "luminance": 0.05402
}

Semantic roles & 50–950 ramp

primary
#7D1F17
secondary
#3EA9B2
accent
#DEEC3C
background
#FBF6F4
surface
#F6EBE8
border
#D0C6C4
text
#110503
muted
#807A78

Preview Lab

Preview with #7D1F17

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

Preview Lab → · Contrast checker → · Palette generator →

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