#7D1E2A#7D1E2A

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

Color values

HEX#7D1E2A
RGBrgb(125, 30, 42)
HSLhsl(352, 61%, 30%)
HSVhsv(352, 76%, 49%)
CMYKcmyk(0%, 76%, 66.4%, 51%)
CIE-LABlab(28.00, 41.08, 17.17)
CIE-LCHlch(28.00, 44.53, 22.68°)
OKLaboklab(39.53% 0.1221 0.0411)
OKLCHoklch(39.53% 0.129 18.6)
XYZxyz(9.3406, 5.4571, 2.7515)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E2A #1E7D71
analogous
#7D1E59 #7D1E2A #7D411E
triadic
#7D1E2A #2A7D1E #1E2A7D
tetradic
#7D1E2A #597D1E #1E7D71 #411E7D
square
#7D1E2A #597D1E #1E7D71 #411E7D
split-complementary
#7D1E2A #1E7D41 #1E597D
monochromatic
#1A0609 #4C1219 #7D1E2A #AE2A3B #D24355

Accessibility & contrast

On white

10.04
#7D1E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1E2A
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E2A#FFFFFF#000000##FFFFFF
##7D1E2A1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38352A
Deuteranopia (green-blind)
#504927
Tritanopia (blue-blind)
#8A0023
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1e2a;
/* rgb */ color: rgb(125, 30, 42);
/* oklch */ color: oklch(39.5% 0.129 18.6);
Tailwind
colors: {
  custom: {
    50: '#a96263',
    500: '#7d1e2a',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e2a;
$custom-light: #a96263;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e2a",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 42
  },
  "hsl": {
    "h": 352.421,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3953,
    "c": 0.12883,
    "h": 18.6
  },
  "luminance": 0.05456
}

Semantic roles & 50–950 ramp

primary
#7D1E2A
secondary
#46B0A3
accent
#E4D043
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110505
muted
#807A79

Preview Lab

Preview with #7D1E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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