#7D1F2E#7D1F2E

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

Color values

HEX#7D1F2E
RGBrgb(125, 31, 46)
HSLhsl(350, 60%, 31%)
HSVhsv(350, 75%, 49%)
CMYKcmyk(0%, 75.2%, 63.2%, 51%)
CIE-LABlab(28.22, 40.97, 14.80)
CIE-LCHlch(28.22, 43.56, 19.86°)
OKLaboklab(39.72% 0.1226 0.0361)
OKLCHoklch(39.72% 0.128 16.4)
XYZxyz(9.4415, 5.5386, 3.1561)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F2E #1F7D6E
analogous
#7D1F5D #7D1F2E #7D3F1F
triadic
#7D1F2E #2E7D1F #1F2E7D
tetradic
#7D1F2E #5D7D1F #1F7D6E #3F1F7D
square
#7D1F2E #5D7D1F #1F7D6E #3F1F7D
split-complementary
#7D1F2E #1F7D3F #1F5D7D
monochromatic
#1B070A #4C131C #7D1F2E #AE2B40 #D1455C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D1F2E#FFFFFF#000000##FFFFFF
##7D1F2E1.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)
#38362E
Deuteranopia (green-blind)
#504A2B
Tritanopia (blue-blind)
#890225
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d1f2e;
/* rgb */ color: rgb(125, 31, 46);
/* oklch */ color: oklch(39.7% 0.128 16.4);
Tailwind
colors: {
  custom: {
    50: '#a96366',
    500: '#7d1f2e',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f2e;
$custom-light: #a96366;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f2e",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 46
  },
  "hsl": {
    "h": 350.426,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39718,
    "c": 0.12775,
    "h": 16.4
  },
  "luminance": 0.05537
}

Semantic roles & 50–950 ramp

primary
#7D1F2E
secondary
#48B09F
accent
#E3CA44
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7D1F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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