#7D2817#7D2817

#7D2817 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.4% C 0.121 H 33.2°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#7D2817
RGBrgb(125, 40, 23)
HSLhsl(10, 69%, 29%)
HSVhsv(10, 82%, 49%)
CMYKcmyk(0%, 68%, 81.6%, 51%)
CIE-LABlab(29.26, 35.90, 30.49)
CIE-LCHlch(29.26, 47.09, 40.34°)
OKLaboklab(40.39% 0.1015 0.0665)
OKLCHoklch(40.39% 0.121 33.2)
XYZxyz(9.3719, 5.9408, 1.4636)
Luminance0.0594 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2817 #176C7D
analogous
#7D1739 #7D2817 #7D5B17
triadic
#7D2817 #177D28 #28177D
tetradic
#7D2817 #397D17 #176C7D #5B177D
square
#7D2817 #397D17 #176C7D #5B177D
split-complementary
#7D2817 #177D5B #17397D
monochromatic
#1A0805 #49170D #7D2817 #B13921 #DA5035

Accessibility & contrast

On white

9.60
#7D2817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7D2817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2817
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2817#FFFFFF#000000##FFFFFF
##7D28171.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403914
Deuteranopia (green-blind)
#554C14
Tritanopia (blue-blind)
#8A0F25
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d2817;
/* rgb */ color: rgb(125, 40, 23);
/* oklch */ color: oklch(40.4% 0.121 33.2);
Tailwind
colors: {
  custom: {
    50: '#aa6755',
    500: '#7d2817',
    950: '#000000',
  },
}
SCSS
$custom: #7d2817;
$custom-light: #aa6755;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2817",
  "rgb": {
    "r": 125,
    "g": 40,
    "b": 23
  },
  "hsl": {
    "h": 10,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40387,
    "c": 0.12136,
    "h": 33.2
  },
  "luminance": 0.05939
}

Semantic roles & 50–950 ramp

primary
#7D2817
secondary
#3E9EB2
accent
#CEEC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7D2817

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

Preview Lab → · Contrast checker → · Palette generator →

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