#7E1D17#7E1D17

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

Color values

HEX#7E1D17
RGBrgb(126, 29, 23)
HSLhsl(3, 69%, 29%)
HSVhsv(3, 82%, 49%)
CMYKcmyk(0%, 77%, 81.7%, 50.6%)
CIE-LABlab(27.78, 40.84, 29.04)
CIE-LCHlch(27.78, 50.11, 35.42°)
OKLaboklab(39.32% 0.1169 0.0632)
OKLCHoklch(39.32% 0.133 28.4)
XYZxyz(9.1993, 5.3777, 1.3641)
Luminance0.0538 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D17 #17787E
analogous
#7E1745 #7E1D17 #7E5117
triadic
#7E1D17 #177E1D #1D177E
tetradic
#7E1D17 #457E17 #17787E #51177E
square
#7E1D17 #457E17 #17787E #51177E
split-complementary
#7E1D17 #177E51 #17457E
monochromatic
#1A0605 #4A110E #7E1D17 #B22920 #DA3F35

Accessibility & contrast

On white

10.12
#7E1D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7E1D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D17
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D17#FFFFFF#000000##FFFFFF
##7E1D171.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3415
Deuteranopia (green-blind)
#524913
Tritanopia (blue-blind)
#8B001D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1d17;
/* rgb */ color: rgb(126, 29, 23);
/* oklch */ color: oklch(39.3% 0.133 28.4);
Tailwind
colors: {
  custom: {
    50: '#ab6155',
    500: '#7e1d17',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d17;
$custom-light: #ab6155;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d17",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 23
  },
  "hsl": {
    "h": 3.495,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39317,
    "c": 0.13287,
    "h": 28.4
  },
  "luminance": 0.05376
}

Semantic roles & 50–950 ramp

primary
#7E1D17
secondary
#3EACB3
accent
#E2EC3C
background
#FBF6F4
surface
#F6EBE8
border
#D0C6C4
text
#120503
muted
#817A78

Preview Lab

Preview with #7E1D17

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

Preview Lab → · Contrast checker → · Palette generator →

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