#7E2017#7E2017

#7E2017 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.6% C 0.130 H 29.5°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#7E2017
RGBrgb(126, 32, 23)
HSLhsl(5, 69%, 29%)
HSVhsv(5, 82%, 49%)
CMYKcmyk(0%, 74.6%, 81.7%, 50.6%)
CIE-LABlab(28.20, 39.69, 29.47)
CIE-LCHlch(28.20, 49.43, 36.59°)
OKLaboklab(39.63% 0.1133 0.0642)
OKLCHoklch(39.63% 0.13 29.5)
XYZxyz(9.2764, 5.5319, 1.3898)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2017 #17757E
analogous
#7E1742 #7E2017 #7E5417
triadic
#7E2017 #177E20 #20177E
tetradic
#7E2017 #427E17 #17757E #54177E
square
#7E2017 #427E17 #17757E #54177E
split-complementary
#7E2017 #177E54 #17427E
monochromatic
#1A0705 #4A130E #7E2017 #B22D20 #DA4435

Accessibility & contrast

On white

9.97
#7E2017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7E2017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2017
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2017#FFFFFF#000000##FFFFFF
##7E20171.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3515
Deuteranopia (green-blind)
#534A13
Tritanopia (blue-blind)
#8B001F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e2017;
/* rgb */ color: rgb(126, 32, 23);
/* oklch */ color: oklch(39.6% 0.130 29.5);
Tailwind
colors: {
  custom: {
    50: '#ab6355',
    500: '#7e2017',
    950: '#000000',
  },
}
SCSS
$custom: #7e2017;
$custom-light: #ab6355;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2017",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 23
  },
  "hsl": {
    "h": 5.243,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39626,
    "c": 0.13016,
    "h": 29.5
  },
  "luminance": 0.05531
}

Semantic roles & 50–950 ramp

primary
#7E2017
secondary
#3EA8B3
accent
#DDEC3C
background
#FBF6F4
surface
#F6EBE8
border
#D0C6C4
text
#120603
muted
#817A78

Preview Lab

Preview with #7E2017

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

Preview Lab → · Contrast checker → · Palette generator →

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