#7D1F2D#7D1F2D

#7D1F2D is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.7% C 0.128 H 17.0°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#7D1F2D
RGBrgb(125, 31, 45)
HSLhsl(351, 60%, 31%)
HSVhsv(351, 75%, 49%)
CMYKcmyk(0%, 75.2%, 64%, 51%)
CIE-LABlab(28.20, 40.90, 15.44)
CIE-LCHlch(28.20, 43.72, 20.68°)
OKLaboklab(39.7% 0.1221 0.0375)
OKLCHoklch(39.7% 0.128 17)
XYZxyz(9.4220, 5.5308, 3.0535)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F2D #1F7D6F
analogous
#7D1F5C #7D1F2D #7D401F
triadic
#7D1F2D #2D7D1F #1F2D7D
tetradic
#7D1F2D #5C7D1F #1F7D6F #401F7D
square
#7D1F2D #5C7D1F #1F7D6F #401F7D
split-complementary
#7D1F2D #1F7D40 #1F5C7D
monochromatic
#1B070A #4C131B #7D1F2D #AE2B3F #D1455A

Accessibility & contrast

On white

9.97
#7D1F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7D1F2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1F2D
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F2D#FFFFFF#000000##FFFFFF
##7D1F2D1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39362D
Deuteranopia (green-blind)
#504A2A
Tritanopia (blue-blind)
#890225
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1f2d;
/* rgb */ color: rgb(125, 31, 45);
/* oklch */ color: oklch(39.7% 0.128 17.0);
Tailwind
colors: {
  custom: {
    50: '#a96365',
    500: '#7d1f2d',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f2d;
$custom-light: #a96365;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f2d",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 45
  },
  "hsl": {
    "h": 351.064,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39696,
    "c": 0.12774,
    "h": 17
  },
  "luminance": 0.05529
}

Semantic roles & 50–950 ramp

primary
#7D1F2D
secondary
#48B0A1
accent
#E3CC44
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7D1F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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