#7D2417#7D2417

#7D2417 is a dark, vivid red. Relative luminance 0.057; OKLCH L 39.9% C 0.125 H 31.3°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#7D2417
RGBrgb(125, 36, 23)
HSLhsl(8, 69%, 29%)
HSVhsv(8, 82%, 49%)
CMYKcmyk(0%, 71.2%, 81.6%, 51%)
CIE-LABlab(28.60, 37.68, 29.81)
CIE-LCHlch(28.60, 48.05, 38.35°)
OKLaboklab(39.89% 0.1071 0.065)
OKLCHoklch(39.89% 0.125 31.3)
XYZxyz(9.2440, 5.6850, 1.4210)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2417 #17707D
analogous
#7D173D #7D2417 #7D5717
triadic
#7D2417 #177D24 #24177D
tetradic
#7D2417 #3D7D17 #17707D #57177D
square
#7D2417 #3D7D17 #17707D #57177D
split-complementary
#7D2417 #177D57 #173D7D
monochromatic
#1A0705 #49150D #7D2417 #B13321 #DA4A35

Accessibility & contrast

On white

9.83
#7D2417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7D2417 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2417
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2417#FFFFFF#000000##FFFFFF
##7D24171.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3715
Deuteranopia (green-blind)
#544B13
Tritanopia (blue-blind)
#8A0522
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d2417;
/* rgb */ color: rgb(125, 36, 23);
/* oklch */ color: oklch(39.9% 0.125 31.3);
Tailwind
colors: {
  custom: {
    50: '#aa6555',
    500: '#7d2417',
    950: '#000000',
  },
}
SCSS
$custom: #7d2417;
$custom-light: #aa6555;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2417",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 23
  },
  "hsl": {
    "h": 7.647,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39892,
    "c": 0.12528,
    "h": 31.3
  },
  "luminance": 0.05684
}

Semantic roles & 50–950 ramp

primary
#7D2417
secondary
#3EA3B2
accent
#D5EC3C
background
#FBF6F5
surface
#F6EBE8
border
#D0C6C4
text
#110603
muted
#807A78

Preview Lab

Preview with #7D2417

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

Preview Lab → · Contrast checker → · Palette generator →

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