#7E2117#7E2117

#7E2117 is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.7% C 0.129 H 29.9°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#7E2117
RGBrgb(126, 33, 23)
HSLhsl(6, 69%, 29%)
HSVhsv(6, 82%, 49%)
CMYKcmyk(0%, 73.8%, 81.7%, 50.6%)
CIE-LABlab(28.34, 39.29, 29.61)
CIE-LCHlch(28.34, 49.20, 37.00°)
OKLaboklab(39.74% 0.112 0.0645)
OKLCHoklch(39.74% 0.129 29.9)
XYZxyz(9.3038, 5.5866, 1.3989)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2117 #17747E
analogous
#7E1741 #7E2117 #7E5517
triadic
#7E2117 #177E21 #21177E
tetradic
#7E2117 #417E17 #17747E #55177E
square
#7E2117 #417E17 #17747E #55177E
split-complementary
#7E2117 #177E55 #17417E
monochromatic
#1A0705 #4A130E #7E2117 #B22F20 #DA4535

Accessibility & contrast

On white

9.92
#7E2117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7E2117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2117
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2117#FFFFFF#000000##FFFFFF
##7E21171.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3615
Deuteranopia (green-blind)
#544A13
Tritanopia (blue-blind)
#8B0020
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e2117;
/* rgb */ color: rgb(126, 33, 23);
/* oklch */ color: oklch(39.7% 0.129 29.9);
Tailwind
colors: {
  custom: {
    50: '#ab6355',
    500: '#7e2117',
    950: '#000000',
  },
}
SCSS
$custom: #7e2117;
$custom-light: #ab6355;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2117",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 23
  },
  "hsl": {
    "h": 5.825,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39735,
    "c": 0.12924,
    "h": 29.9
  },
  "luminance": 0.05585
}

Semantic roles & 50–950 ramp

primary
#7E2117
secondary
#3EA7B3
accent
#DBEC3C
background
#FBF6F4
surface
#F6EBE8
border
#D0C6C4
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2117

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

Preview Lab → · Contrast checker → · Palette generator →

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