#7D1E1B#7D1E1B

#7D1E1B is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.3% C 0.130 H 27.0°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#7D1E1B
RGBrgb(125, 30, 27)
HSLhsl(2, 64%, 30%)
HSVhsv(2, 78%, 49%)
CMYKcmyk(0%, 76%, 78.4%, 51%)
CIE-LABlab(27.76, 40.28, 26.54)
CIE-LCHlch(27.76, 48.24, 33.38°)
OKLaboklab(39.28% 0.1161 0.0591)
OKLCHoklch(39.28% 0.13 27)
XYZxyz(9.1206, 5.3691, 1.5928)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E1B #1B7A7D
analogous
#7D1B49 #7D1E1B #7D4F1B
triadic
#7D1E1B #1B7D1E #1E1B7D
tetradic
#7D1E1B #497D1B #1B7A7D #4F1B7D
square
#7D1E1B #497D1B #1B7A7D #4F1B7D
split-complementary
#7D1E1B #1B7D4F #1B497D
monochromatic
#190605 #4B1210 #7D1E1B #AF2A26 #D5423D

Accessibility & contrast

On white

10.13
#7D1E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7D1E1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1E1B
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E1B#FFFFFF#000000##FFFFFF
##7D1E1B1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A341A
Deuteranopia (green-blind)
#524917
Tritanopia (blue-blind)
#8A001E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1e1b;
/* rgb */ color: rgb(125, 30, 27);
/* oklch */ color: oklch(39.3% 0.130 27.0);
Tailwind
colors: {
  custom: {
    50: '#aa6258',
    500: '#7d1e1b',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e1b;
$custom-light: #aa6258;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e1b",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 27
  },
  "hsl": {
    "h": 1.837,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39277,
    "c": 0.13028,
    "h": 27
  },
  "luminance": 0.05368
}

Semantic roles & 50–950 ramp

primary
#7D1E1B
secondary
#43AEB1
accent
#E2E740
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110503
muted
#807A78

Preview Lab

Preview with #7D1E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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