#7D1829#7D1829

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

Color values

HEX#7D1829
RGBrgb(125, 24, 41)
HSLhsl(350, 68%, 29%)
HSVhsv(350, 81%, 49%)
CMYKcmyk(0%, 80.8%, 67.2%, 51%)
CIE-LABlab(27.23, 43.13, 16.84)
CIE-LCHlch(27.23, 46.30, 21.33°)
OKLaboklab(38.95% 0.1284 0.0403)
OKLCHoklch(38.95% 0.135 17.4)
XYZxyz(9.1853, 5.1747, 2.6126)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1829 #187D6C
analogous
#7D185C #7D1829 #7D3A18
triadic
#7D1829 #297D18 #18297D
tetradic
#7D1829 #5C7D18 #187D6C #3A187D
square
#7D1829 #5C7D18 #187D6C #3A187D
split-complementary
#7D1829 #187D3A #185C7D
monochromatic
#1A0508 #4A0E18 #7D1829 #B0223A #D93752

Accessibility & contrast

On white

10.32
#7D1829 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1829
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1829#FFFFFF#000000##FFFFFF
##7D18291.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363329
Deuteranopia (green-blind)
#4F4826
Tritanopia (blue-blind)
#8A001F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d1829;
/* rgb */ color: rgb(125, 24, 41);
/* oklch */ color: oklch(39.0% 0.135 17.4);
Tailwind
colors: {
  custom: {
    50: '#a96062',
    500: '#7d1829',
    950: '#000000',
  },
}
SCSS
$custom: #7d1829;
$custom-light: #a96062;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1829",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 41
  },
  "hsl": {
    "h": 349.901,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38951,
    "c": 0.13458,
    "h": 17.4
  },
  "luminance": 0.05173
}

Semantic roles & 50–950 ramp

primary
#7D1829
secondary
#3FB29E
accent
#EBCD3D
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7D1829

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

Preview Lab → · Contrast checker → · Palette generator →

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