#7D1E17#7D1E17

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

Color values

HEX#7D1E17
RGBrgb(125, 30, 23)
HSLhsl(4, 69%, 29%)
HSVhsv(4, 82%, 49%)
CMYKcmyk(0%, 76%, 81.6%, 51%)
CIE-LABlab(27.71, 40.12, 28.90)
CIE-LCHlch(27.71, 49.45, 35.77°)
OKLaboklab(39.23% 0.1147 0.063)
OKLCHoklch(39.23% 0.131 28.8)
XYZxyz(9.0774, 5.3518, 1.3655)
Luminance0.0535 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E17 #17767D
analogous
#7D1743 #7D1E17 #7D5117
triadic
#7D1E17 #177D1E #1E177D
tetradic
#7D1E17 #437D17 #17767D #51177D
square
#7D1E17 #437D17 #17767D #51177D
split-complementary
#7D1E17 #177D51 #17437D
monochromatic
#1A0605 #49120D #7D1E17 #B12A21 #DA4035

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D1E17#FFFFFF#000000##FFFFFF
##7D1E171.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)
#3B3415
Deuteranopia (green-blind)
#524913
Tritanopia (blue-blind)
#8A001D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7d1e17;
/* rgb */ color: rgb(125, 30, 23);
/* oklch */ color: oklch(39.2% 0.131 28.8);
Tailwind
colors: {
  custom: {
    50: '#ab6255',
    500: '#7d1e17',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e17;
$custom-light: #ab6255;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e17",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 23
  },
  "hsl": {
    "h": 4.118,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39227,
    "c": 0.13089,
    "h": 28.8
  },
  "luminance": 0.0535
}

Semantic roles & 50–950 ramp

primary
#7D1E17
secondary
#3EAAB2
accent
#E0EC3C
background
#FBF6F4
surface
#F6EBE8
border
#D0C6C4
text
#110503
muted
#807A78

Preview Lab

Preview with #7D1E17

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

Preview Lab → · Contrast checker → · Palette generator →

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