#7D1F20#7D1F20

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

Color values

HEX#7D1F20
RGBrgb(125, 31, 32)
HSLhsl(359, 60%, 31%)
HSVhsv(359, 75%, 49%)
CMYKcmyk(0%, 75.2%, 74.4%, 51%)
CIE-LABlab(27.97, 40.13, 23.64)
CIE-LCHlch(27.97, 46.58, 30.50°)
OKLaboklab(39.45% 0.1168 0.054)
OKLCHoklch(39.45% 0.129 24.8)
XYZxyz(9.2092, 5.4456, 1.9324)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F20 #1F7D7C
analogous
#7D1F4F #7D1F20 #7D4D1F
triadic
#7D1F20 #207D1F #1F207D
tetradic
#7D1F20 #4F7D1F #1F7D7C #4D1F7D
square
#7D1F20 #4F7D1F #1F7D7C #4D1F7D
split-complementary
#7D1F20 #1F7D4D #1F4F7D
monochromatic
#1B0707 #4C1313 #7D1F20 #AE2B2D #D14547

Accessibility & contrast

On white

10.05
#7D1F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1F20
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F20#FFFFFF#000000##FFFFFF
##7D1F201.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A351F
Deuteranopia (green-blind)
#52491D
Tritanopia (blue-blind)
#8A0021
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1f20;
/* rgb */ color: rgb(125, 31, 32);
/* oklch */ color: oklch(39.5% 0.129 24.8);
Tailwind
colors: {
  custom: {
    50: '#aa625b',
    500: '#7d1f20',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f20;
$custom-light: #aa625b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f20",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 32
  },
  "hsl": {
    "h": 359.362,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39453,
    "c": 0.12865,
    "h": 24.8
  },
  "luminance": 0.05444
}

Semantic roles & 50–950 ramp

primary
#7D1F20
secondary
#48B0AF
accent
#E3E244
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7D1F20

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

Preview Lab → · Contrast checker → · Palette generator →

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