#7D1826#7D1826

#7D1826 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.135 H 19.2°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#7D1826
RGBrgb(125, 24, 38)
HSLhsl(352, 68%, 29%)
HSVhsv(352, 81%, 49%)
CMYKcmyk(0%, 80.8%, 69.6%, 51%)
CIE-LABlab(27.17, 42.95, 18.77)
CIE-LCHlch(27.17, 46.87, 23.61°)
OKLaboklab(38.89% 0.1272 0.0442)
OKLCHoklch(38.89% 0.135 19.2)
XYZxyz(9.1349, 5.1546, 2.3473)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1826 #187D6F
analogous
#7D1859 #7D1826 #7D3D18
triadic
#7D1826 #267D18 #18267D
tetradic
#7D1826 #597D18 #187D6F #3D187D
square
#7D1826 #597D18 #187D6F #3D187D
split-complementary
#7D1826 #187D3D #18597D
monochromatic
#1A0508 #4A0E16 #7D1826 #B02236 #D9374D

Accessibility & contrast

On white

10.34
#7D1826 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1826
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1826#FFFFFF#000000##FFFFFF
##7D18261.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363326
Deuteranopia (green-blind)
#4F4823
Tritanopia (blue-blind)
#8A001E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d1826;
/* rgb */ color: rgb(125, 24, 38);
/* oklch */ color: oklch(38.9% 0.135 19.2);
Tailwind
colors: {
  custom: {
    50: '#aa5f60',
    500: '#7d1826',
    950: '#000000',
  },
}
SCSS
$custom: #7d1826;
$custom-light: #aa5f60;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1826",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 38
  },
  "hsl": {
    "h": 351.683,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38891,
    "c": 0.13464,
    "h": 19.2
  },
  "luminance": 0.05153
}

Semantic roles & 50–950 ramp

primary
#7D1826
secondary
#3FB2A2
accent
#EBD33D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7D1826

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

Preview Lab → · Contrast checker → · Palette generator →

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