#7D1F2B#7D1F2B

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

Color values

HEX#7D1F2B
RGBrgb(125, 31, 43)
HSLhsl(352, 60%, 31%)
HSVhsv(352, 75%, 49%)
CMYKcmyk(0%, 75.2%, 65.6%, 51%)
CIE-LABlab(28.16, 40.77, 16.71)
CIE-LCHlch(28.16, 44.06, 22.29°)
OKLaboklab(39.65% 0.1213 0.0402)
OKLCHoklch(39.65% 0.128 18.3)
XYZxyz(9.3845, 5.5157, 2.8555)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F2B #1F7D71
analogous
#7D1F5A #7D1F2B #7D421F
triadic
#7D1F2B #2B7D1F #1F2B7D
tetradic
#7D1F2B #5A7D1F #1F7D71 #421F7D
square
#7D1F2B #5A7D1F #1F7D71 #421F7D
split-complementary
#7D1F2B #1F7D42 #1F5A7D
monochromatic
#1B0709 #4C131A #7D1F2B #AE2B3C #D14557

Accessibility & contrast

On white

9.99
#7D1F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7D1F2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1F2B
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F2B#FFFFFF#000000##FFFFFF
##7D1F2B1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39362B
Deuteranopia (green-blind)
#514A28
Tritanopia (blue-blind)
#890124
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1f2b;
/* rgb */ color: rgb(125, 31, 43);
/* oklch */ color: oklch(39.7% 0.128 18.3);
Tailwind
colors: {
  custom: {
    50: '#a96364',
    500: '#7d1f2b',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f2b;
$custom-light: #a96364;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f2b",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 43
  },
  "hsl": {
    "h": 352.34,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39653,
    "c": 0.12777,
    "h": 18.3
  },
  "luminance": 0.05514
}

Semantic roles & 50–950 ramp

primary
#7D1F2B
secondary
#48B0A3
accent
#E3CF44
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7D1F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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