#7D1C2A#7D1C2A

#7D1C2A is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.3% C 0.131 H 18.0°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#7D1C2A
RGBrgb(125, 28, 42)
HSLhsl(351, 63%, 30%)
HSVhsv(351, 78%, 49%)
CMYKcmyk(0%, 77.6%, 66.4%, 51%)
CIE-LABlab(27.73, 41.82, 16.83)
CIE-LCHlch(27.73, 45.08, 21.92°)
OKLaboklab(39.33% 0.1245 0.0403)
OKLCHoklch(39.33% 0.131 18)
XYZxyz(9.2916, 5.3590, 2.7352)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C2A #1C7D6F
analogous
#7D1C5B #7D1C2A #7D3E1C
triadic
#7D1C2A #2A7D1C #1C2A7D
tetradic
#7D1C2A #5B7D1C #1C7D6F #3E1C7D
square
#7D1C2A #5B7D1C #1C7D6F #3E1C7D
split-complementary
#7D1C2A #1C7D3E #1C5B7D
monochromatic
#190608 #4B1119 #7D1C2A #AF273B #D43F55

Accessibility & contrast

On white

10.14
#7D1C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7D1C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1C2A
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C2A#FFFFFF#000000##FFFFFF
##7D1C2A1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37342A
Deuteranopia (green-blind)
#504927
Tritanopia (blue-blind)
#8A0022
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7d1c2a;
/* rgb */ color: rgb(125, 28, 42);
/* oklch */ color: oklch(39.3% 0.131 18.0);
Tailwind
colors: {
  custom: {
    50: '#a96163',
    500: '#7d1c2a',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c2a;
$custom-light: #a96163;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c2a",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 42
  },
  "hsl": {
    "h": 351.34,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.39333,
    "c": 0.13083,
    "h": 18
  },
  "luminance": 0.05358
}

Semantic roles & 50–950 ramp

primary
#7D1C2A
secondary
#44B1A1
accent
#E6CF41
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110505
muted
#807A79

Preview Lab

Preview with #7D1C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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