#7D2818#7D2818

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

Color values

HEX#7D2818
RGBrgb(125, 40, 24)
HSLhsl(10, 68%, 29%)
HSVhsv(10, 81%, 49%)
CMYKcmyk(0%, 68%, 80.8%, 51%)
CIE-LABlab(29.27, 35.94, 29.93)
CIE-LCHlch(29.27, 46.77, 39.79°)
OKLaboklab(40.4% 0.1019 0.0656)
OKLCHoklch(40.4% 0.121 32.8)
XYZxyz(9.3822, 5.9449, 1.5174)
Luminance0.0594 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2818 #186D7D
analogous
#7D183B #7D2818 #7D5B18
triadic
#7D2818 #187D28 #28187D
tetradic
#7D2818 #3B7D18 #186D7D #5B187D
square
#7D2818 #3B7D18 #186D7D #5B187D
split-complementary
#7D2818 #187D5B #183B7D
monochromatic
#1A0805 #4A180E #7D2818 #B03822 #D95037

Accessibility & contrast

On white

9.59
#7D2818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2818
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2818#FFFFFF#000000##FFFFFF
##7D28181.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403916
Deuteranopia (green-blind)
#554C15
Tritanopia (blue-blind)
#8A1025
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d2818;
/* rgb */ color: rgb(125, 40, 24);
/* oklch */ color: oklch(40.4% 0.121 32.8);
Tailwind
colors: {
  custom: {
    50: '#aa6756',
    500: '#7d2818',
    950: '#000000',
  },
}
SCSS
$custom: #7d2818;
$custom-light: #aa6756;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2818",
  "rgb": {
    "r": 125,
    "g": 40,
    "b": 24
  },
  "hsl": {
    "h": 9.505,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40398,
    "c": 0.12115,
    "h": 32.8
  },
  "luminance": 0.05944
}

Semantic roles & 50–950 ramp

primary
#7D2818
secondary
#3F9FB2
accent
#CFEB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7D2818

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

Preview Lab → · Contrast checker → · Palette generator →

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