#7D1F2F#7D1F2F

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

Color values

HEX#7D1F2F
RGBrgb(125, 31, 47)
HSLhsl(350, 60%, 31%)
HSVhsv(350, 75%, 49%)
CMYKcmyk(0%, 75.2%, 62.4%, 51%)
CIE-LABlab(28.24, 41.05, 14.16)
CIE-LCHlch(28.24, 43.42, 19.04°)
OKLaboklab(39.74% 0.123 0.0347)
OKLCHoklch(39.74% 0.128 15.7)
XYZxyz(9.4615, 5.5465, 3.2612)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F2F #1F7D6D
analogous
#7D1F5E #7D1F2F #7D3E1F
triadic
#7D1F2F #2F7D1F #1F2F7D
tetradic
#7D1F2F #5E7D1F #1F7D6D #3E1F7D
square
#7D1F2F #5E7D1F #1F7D6D #3E1F7D
split-complementary
#7D1F2F #1F7D3E #1F5E7D
monochromatic
#1B070A #4C131D #7D1F2F #AE2B41 #D1455D

Accessibility & contrast

On white

9.96
#7D1F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1F2F
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F2F#FFFFFF#000000##FFFFFF
##7D1F2F1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38362F
Deuteranopia (green-blind)
#504A2C
Tritanopia (blue-blind)
#890326
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d1f2f;
/* rgb */ color: rgb(125, 31, 47);
/* oklch */ color: oklch(39.7% 0.128 15.7);
Tailwind
colors: {
  custom: {
    50: '#a96367',
    500: '#7d1f2f',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f2f;
$custom-light: #a96367;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f2f",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 47
  },
  "hsl": {
    "h": 349.787,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39741,
    "c": 0.12777,
    "h": 15.7
  },
  "luminance": 0.05545
}

Semantic roles & 50–950 ramp

primary
#7D1F2F
secondary
#48B09E
accent
#E3C844
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7D1F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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