#7D1E27#7D1E27

#7D1E27 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.5% C 0.129 H 20.5°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#7D1E27
RGBrgb(125, 30, 39)
HSLhsl(354, 61%, 30%)
HSVhsv(354, 76%, 49%)
CMYKcmyk(0%, 76%, 68.8%, 51%)
CIE-LABlab(27.94, 40.90, 19.08)
CIE-LCHlch(27.94, 45.13, 25.01°)
OKLaboklab(39.47% 0.1208 0.0451)
OKLCHoklch(39.47% 0.129 20.5)
XYZxyz(9.2889, 5.4364, 2.4793)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E27 #1E7D74
analogous
#7D1E56 #7D1E27 #7D451E
triadic
#7D1E27 #277D1E #1E277D
tetradic
#7D1E27 #567D1E #1E7D74 #451E7D
square
#7D1E27 #567D1E #1E7D74 #451E7D
split-complementary
#7D1E27 #1E7D45 #1E567D
monochromatic
#1A0608 #4C1218 #7D1E27 #AE2A36 #D24351

Accessibility & contrast

On white

10.06
#7D1E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7D1E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1E27
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E27#FFFFFF#000000##FFFFFF
##7D1E271.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393527
Deuteranopia (green-blind)
#514924
Tritanopia (blue-blind)
#8A0022
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1e27;
/* rgb */ color: rgb(125, 30, 39);
/* oklch */ color: oklch(39.5% 0.129 20.5);
Tailwind
colors: {
  custom: {
    50: '#a96261',
    500: '#7d1e27',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e27;
$custom-light: #a96261;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e27",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 39
  },
  "hsl": {
    "h": 354.316,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39471,
    "c": 0.12896,
    "h": 20.5
  },
  "luminance": 0.05435
}

Semantic roles & 50–950 ramp

primary
#7D1E27
secondary
#46B0A6
accent
#E4D543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110505
muted
#807A79

Preview Lab

Preview with #7D1E27

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

Preview Lab → · Contrast checker → · Palette generator →

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