#7D1C26#7D1C26

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

Color values

HEX#7D1C26
RGBrgb(125, 28, 38)
HSLhsl(354, 63%, 30%)
HSVhsv(354, 78%, 49%)
CMYKcmyk(0%, 77.6%, 69.6%, 51%)
CIE-LABlab(27.66, 41.58, 19.38)
CIE-LCHlch(27.66, 45.87, 24.99°)
OKLaboklab(39.25% 0.1228 0.0456)
OKLCHoklch(39.25% 0.131 20.4)
XYZxyz(9.2236, 5.3318, 2.3768)
Luminance0.0533 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C26 #1C7D73
analogous
#7D1C57 #7D1C26 #7D421C
triadic
#7D1C26 #267D1C #1C267D
tetradic
#7D1C26 #577D1C #1C7D73 #421C7D
square
#7D1C26 #577D1C #1C7D73 #421C7D
split-complementary
#7D1C26 #1C7D42 #1C577D
monochromatic
#190608 #4B1117 #7D1C26 #AF2735 #D43F4F

Accessibility & contrast

On white

10.16
#7D1C26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1C26
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C26#FFFFFF#000000##FFFFFF
##7D1C261.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383426
Deuteranopia (green-blind)
#504923
Tritanopia (blue-blind)
#8A0021
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7d1c26;
/* rgb */ color: rgb(125, 28, 38);
/* oklch */ color: oklch(39.3% 0.131 20.4);
Tailwind
colors: {
  custom: {
    50: '#a96160',
    500: '#7d1c26',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c26;
$custom-light: #a96160;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c26",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 38
  },
  "hsl": {
    "h": 353.814,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.39254,
    "c": 0.13098,
    "h": 20.4
  },
  "luminance": 0.0533
}

Semantic roles & 50–950 ramp

primary
#7D1C26
secondary
#44B1A6
accent
#E6D541
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7D1C26

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

Preview Lab → · Contrast checker → · Palette generator →

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