#7D2917#7D2917

#7D2917 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.5% C 0.120 H 33.7°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#7D2917
RGBrgb(125, 41, 23)
HSLhsl(11, 69%, 29%)
HSVhsv(11, 82%, 49%)
CMYKcmyk(0%, 67.2%, 81.6%, 51%)
CIE-LABlab(29.44, 35.43, 30.66)
CIE-LCHlch(29.44, 46.86, 40.87°)
OKLaboklab(40.52% 0.1001 0.0669)
OKLCHoklch(40.52% 0.12 33.7)
XYZxyz(9.4061, 6.0091, 1.4750)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2917 #176B7D
analogous
#7D1738 #7D2917 #7D5C17
triadic
#7D2917 #177D29 #29177D
tetradic
#7D2917 #387D17 #176B7D #5C177D
square
#7D2917 #387D17 #176B7D #5C177D
split-complementary
#7D2917 #177D5C #17387D
monochromatic
#1A0805 #49180D #7D2917 #B13A21 #DA5235

Accessibility & contrast

On white

9.54
#7D2917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7D2917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2917
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2917#FFFFFF#000000##FFFFFF
##7D29171.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A14
Deuteranopia (green-blind)
#564C14
Tritanopia (blue-blind)
#8A1125
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d2917;
/* rgb */ color: rgb(125, 41, 23);
/* oklch */ color: oklch(40.5% 0.120 33.7);
Tailwind
colors: {
  custom: {
    50: '#aa6755',
    500: '#7d2917',
    950: '#000000',
  },
}
SCSS
$custom: #7d2917;
$custom-light: #aa6755;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2917",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 23
  },
  "hsl": {
    "h": 10.588,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40517,
    "c": 0.12037,
    "h": 33.7
  },
  "luminance": 0.06008
}

Semantic roles & 50–950 ramp

primary
#7D2917
secondary
#3E9DB2
accent
#CDEC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7D2917

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

Preview Lab → · Contrast checker → · Palette generator →

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