#7D1A2B#7D1A2B

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

Color values

HEX#7D1A2B
RGBrgb(125, 26, 43)
HSLhsl(350, 66%, 30%)
HSVhsv(350, 79%, 49%)
CMYKcmyk(0%, 79.2%, 65.6%, 51%)
CIE-LABlab(27.50, 42.59, 15.87)
CIE-LCHlch(27.50, 45.45, 20.43°)
OKLaboklab(39.17% 0.1271 0.0382)
OKLCHoklch(39.17% 0.133 16.7)
XYZxyz(9.2639, 5.2746, 2.8153)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A2B #1A7D6C
analogous
#7D1A5D #7D1A2B #7D3B1A
triadic
#7D1A2B #2B7D1A #1A2B7D
tetradic
#7D1A2B #5D7D1A #1A7D6C #3B1A7D
square
#7D1A2B #5D7D1A #1A7D6C #3B1A7D
split-complementary
#7D1A2B #1A7D3B #1A5D7D
monochromatic
#190509 #4A0F1A #7D1A2B #B0253C #D63B56

Accessibility & contrast

On white

10.22
#7D1A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7D1A2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1A2B
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A2B#FFFFFF#000000##FFFFFF
##7D1A2B1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36342B
Deuteranopia (green-blind)
#4F4828
Tritanopia (blue-blind)
#8A0021
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7d1a2b;
/* rgb */ color: rgb(125, 26, 43);
/* oklch */ color: oklch(39.2% 0.133 16.7);
Tailwind
colors: {
  custom: {
    50: '#a96064',
    500: '#7d1a2b',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a2b;
$custom-light: #a96064;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a2b",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 43
  },
  "hsl": {
    "h": 349.697,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39169,
    "c": 0.13275,
    "h": 16.7
  },
  "luminance": 0.05273
}

Semantic roles & 50–950 ramp

primary
#7D1A2B
secondary
#42B19E
accent
#E9CB3F
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110505
muted
#807A79

Preview Lab

Preview with #7D1A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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