#7D1B1E#7D1B1E

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

Color values

HEX#7D1B1E
RGBrgb(125, 27, 30)
HSLhsl(358, 64%, 30%)
HSVhsv(358, 78%, 49%)
CMYKcmyk(0%, 78.4%, 76%, 51%)
CIE-LABlab(27.41, 41.52, 24.26)
CIE-LCHlch(27.41, 48.09, 30.30°)
OKLaboklab(39.02% 0.1207 0.0549)
OKLCHoklch(39.02% 0.133 24.5)
XYZxyz(9.0848, 5.2390, 1.7609)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1B1E #1B7D7A
analogous
#7D1B4F #7D1B1E #7D491B
triadic
#7D1B1E #1E7D1B #1B1E7D
tetradic
#7D1B1E #4F7D1B #1B7D7A #491B7D
square
#7D1B1E #4F7D1B #1B7D7A #491B7D
split-complementary
#7D1B1E #1B7D49 #1B4F7D
monochromatic
#190506 #4B1012 #7D1B1E #AF262A #D53D42

Accessibility & contrast

On white

10.26
#7D1B1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7D1B1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1B1E
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1B1E#FFFFFF#000000##FFFFFF
##7D1B1E1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331D
Deuteranopia (green-blind)
#51481A
Tritanopia (blue-blind)
#8A001D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7d1b1e;
/* rgb */ color: rgb(125, 27, 30);
/* oklch */ color: oklch(39.0% 0.133 24.5);
Tailwind
colors: {
  custom: {
    50: '#aa605a',
    500: '#7d1b1e',
    950: '#000000',
  },
}
SCSS
$custom: #7d1b1e;
$custom-light: #aa605a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1b1e",
  "rgb": {
    "r": 125,
    "g": 27,
    "b": 30
  },
  "hsl": {
    "h": 358.163,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39024,
    "c": 0.13261,
    "h": 24.5
  },
  "luminance": 0.05238
}

Semantic roles & 50–950 ramp

primary
#7D1B1E
secondary
#43B1AE
accent
#E7E240
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110503
muted
#807A78

Preview Lab

Preview with #7D1B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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