#7D1C17#7D1C17

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

Color values

HEX#7D1C17
RGBrgb(125, 28, 23)
HSLhsl(3, 69%, 29%)
HSVhsv(3, 82%, 49%)
CMYKcmyk(0%, 77.6%, 81.6%, 51%)
CIE-LABlab(27.45, 40.87, 28.63)
CIE-LCHlch(27.45, 49.90, 35.01°)
OKLaboklab(39.03% 0.1171 0.0624)
OKLCHoklch(39.03% 0.133 28.1)
XYZxyz(9.0284, 5.2538, 1.3491)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C17 #17787D
analogous
#7D1745 #7D1C17 #7D4F17
triadic
#7D1C17 #177D1C #1C177D
tetradic
#7D1C17 #457D17 #17787D #4F177D
square
#7D1C17 #457D17 #17787D #4F177D
split-complementary
#7D1C17 #177D4F #17457D
monochromatic
#1A0605 #49100D #7D1C17 #B12821 #DA3D35

Accessibility & contrast

On white

10.24
#7D1C17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1C17
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C17#FFFFFF#000000##FFFFFF
##7D1C171.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3315
Deuteranopia (green-blind)
#524813
Tritanopia (blue-blind)
#8A001C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7d1c17;
/* rgb */ color: rgb(125, 28, 23);
/* oklch */ color: oklch(39.0% 0.133 28.1);
Tailwind
colors: {
  custom: {
    50: '#ab6155',
    500: '#7d1c17',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c17;
$custom-light: #ab6155;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c17",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 23
  },
  "hsl": {
    "h": 2.941,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39027,
    "c": 0.13266,
    "h": 28.1
  },
  "luminance": 0.05252
}

Semantic roles & 50–950 ramp

primary
#7D1C17
secondary
#3EACB2
accent
#E3EC3C
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110503
muted
#807A78

Preview Lab

Preview with #7D1C17

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

Preview Lab → · Contrast checker → · Palette generator →

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