#7D2517#7D2517

#7D2517 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.0% C 0.124 H 31.7°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#7D2517
RGBrgb(125, 37, 23)
HSLhsl(8, 69%, 29%)
HSVhsv(8, 82%, 49%)
CMYKcmyk(0%, 70.4%, 81.6%, 51%)
CIE-LABlab(28.76, 37.25, 29.98)
CIE-LCHlch(28.76, 47.81, 38.83°)
OKLaboklab(40.01% 0.1057 0.0654)
OKLCHoklch(40.01% 0.124 31.7)
XYZxyz(9.2747, 5.7464, 1.4312)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2517 #176F7D
analogous
#7D173C #7D2517 #7D5817
triadic
#7D2517 #177D25 #25177D
tetradic
#7D2517 #3C7D17 #176F7D #58177D
square
#7D2517 #3C7D17 #176F7D #58177D
split-complementary
#7D2517 #177D58 #173C7D
monochromatic
#1A0805 #49160D #7D2517 #B13421 #DA4B35

Accessibility & contrast

On white

9.77
#7D2517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7D2517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2517
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2517#FFFFFF#000000##FFFFFF
##7D25171.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3815
Deuteranopia (green-blind)
#544B13
Tritanopia (blue-blind)
#8A0822
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d2517;
/* rgb */ color: rgb(125, 37, 23);
/* oklch */ color: oklch(40.0% 0.124 31.7);
Tailwind
colors: {
  custom: {
    50: '#aa6555',
    500: '#7d2517',
    950: '#000000',
  },
}
SCSS
$custom: #7d2517;
$custom-light: #aa6555;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2517",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 23
  },
  "hsl": {
    "h": 8.235,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40012,
    "c": 0.12431,
    "h": 31.7
  },
  "luminance": 0.05745
}

Semantic roles & 50–950 ramp

primary
#7D2517
secondary
#3EA2B2
accent
#D4EC3C
background
#FBF6F5
surface
#F6EBE8
border
#D0C6C4
text
#110603
muted
#807A78

Preview Lab

Preview with #7D2517

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

Preview Lab → · Contrast checker → · Palette generator →

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