#7D1822#7D1822

#7D1822 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.135 H 21.4°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#7D1822
RGBrgb(125, 24, 34)
HSLhsl(354, 68%, 29%)
HSVhsv(354, 81%, 49%)
CMYKcmyk(0%, 80.8%, 72.8%, 51%)
CIE-LABlab(27.10, 42.73, 21.32)
CIE-LCHlch(27.10, 47.76, 26.52°)
OKLaboklab(38.82% 0.1255 0.0493)
OKLCHoklch(38.82% 0.135 21.4)
XYZxyz(9.0738, 5.1301, 2.0255)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1822 #187D73
analogous
#7D1855 #7D1822 #7D4118
triadic
#7D1822 #227D18 #18227D
tetradic
#7D1822 #557D18 #187D73 #41187D
square
#7D1822 #557D18 #187D73 #41187D
split-complementary
#7D1822 #187D41 #18557D
monochromatic
#1A0507 #4A0E14 #7D1822 #B02230 #D93747

Accessibility & contrast

On white

10.37
#7D1822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7D1822 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1822
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1822#FFFFFF#000000##FFFFFF
##7D18221.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373221
Deuteranopia (green-blind)
#50481F
Tritanopia (blue-blind)
#8A001D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d1822;
/* rgb */ color: rgb(125, 24, 34);
/* oklch */ color: oklch(38.8% 0.135 21.4);
Tailwind
colors: {
  custom: {
    50: '#aa5f5d',
    500: '#7d1822',
    950: '#000000',
  },
}
SCSS
$custom: #7d1822;
$custom-light: #aa5f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1822",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 34
  },
  "hsl": {
    "h": 354.059,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38819,
    "c": 0.13484,
    "h": 21.4
  },
  "luminance": 0.05129
}

Semantic roles & 50–950 ramp

primary
#7D1822
secondary
#3FB2A6
accent
#EBD93D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7D1822

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

Preview Lab → · Contrast checker → · Palette generator →

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