#7D1C23#7D1C23

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

Color values

HEX#7D1C23
RGBrgb(125, 28, 35)
HSLhsl(356, 63%, 30%)
HSVhsv(356, 78%, 49%)
CMYKcmyk(0%, 77.6%, 72%, 51%)
CIE-LABlab(27.61, 41.41, 21.28)
CIE-LCHlch(27.61, 46.56, 27.20°)
OKLaboklab(39.2% 0.1216 0.0494)
OKLCHoklch(39.2% 0.131 22.1)
XYZxyz(9.1771, 5.3132, 2.1321)
Luminance0.0531 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C23 #1C7D76
analogous
#7D1C54 #7D1C23 #7D451C
triadic
#7D1C23 #237D1C #1C237D
tetradic
#7D1C23 #547D1C #1C7D76 #451C7D
square
#7D1C23 #547D1C #1C7D76 #451C7D
split-complementary
#7D1C23 #1C7D45 #1C547D
monochromatic
#190607 #4B1115 #7D1C23 #AF2731 #D43F4A

Accessibility & contrast

On white

10.18
#7D1C23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1C23
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C23#FFFFFF#000000##FFFFFF
##7D1C231.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383422
Deuteranopia (green-blind)
#514920
Tritanopia (blue-blind)
#8A0020
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7d1c23;
/* rgb */ color: rgb(125, 28, 35);
/* oklch */ color: oklch(39.2% 0.131 22.1);
Tailwind
colors: {
  custom: {
    50: '#aa615d',
    500: '#7d1c23',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c23;
$custom-light: #aa615d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c23",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 35
  },
  "hsl": {
    "h": 355.67,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.392,
    "c": 0.13119,
    "h": 22.1
  },
  "luminance": 0.05312
}

Semantic roles & 50–950 ramp

primary
#7D1C23
secondary
#44B1A9
accent
#E6DB41
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7D1C23

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

Preview Lab → · Contrast checker → · Palette generator →

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