#7D1A2C#7D1A2C

#7D1A2C is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.133 H 16.1°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#7D1A2C
RGBrgb(125, 26, 44)
HSLhsl(349, 66%, 30%)
HSVhsv(349, 79%, 49%)
CMYKcmyk(0%, 79.2%, 64.8%, 51%)
CIE-LABlab(27.52, 42.65, 15.22)
CIE-LCHlch(27.52, 45.29, 19.64°)
OKLaboklab(39.19% 0.1276 0.0369)
OKLCHoklch(39.19% 0.133 16.1)
XYZxyz(9.2824, 5.2820, 2.9131)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A2C #1A7D6B
analogous
#7D1A5E #7D1A2C #7D3A1A
triadic
#7D1A2C #2C7D1A #1A2C7D
tetradic
#7D1A2C #5E7D1A #1A7D6B #3A1A7D
square
#7D1A2C #5E7D1A #1A7D6B #3A1A7D
split-complementary
#7D1A2C #1A7D3A #1A5E7D
monochromatic
#190509 #4A0F1A #7D1A2C #B0253E #D63B57

Accessibility & contrast

On white

10.21
#7D1A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7D1A2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1A2C
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A2C#FFFFFF#000000##FFFFFF
##7D1A2C1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36342C
Deuteranopia (green-blind)
#4F4829
Tritanopia (blue-blind)
#8A0022
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7d1a2c;
/* rgb */ color: rgb(125, 26, 44);
/* oklch */ color: oklch(39.2% 0.133 16.1);
Tailwind
colors: {
  custom: {
    50: '#a96064',
    500: '#7d1a2c',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a2c;
$custom-light: #a96064;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a2c",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 44
  },
  "hsl": {
    "h": 349.091,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3919,
    "c": 0.13277,
    "h": 16.1
  },
  "luminance": 0.05281
}

Semantic roles & 50–950 ramp

primary
#7D1A2C
secondary
#42B19D
accent
#E9CA3F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110505
muted
#807A7A

Preview Lab

Preview with #7D1A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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