#7E1710#7E1710

#7E1710 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.7% C 0.139 H 29.2°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#7E1710
RGBrgb(126, 23, 16)
HSLhsl(4, 77%, 28%)
HSVhsv(4, 87%, 49%)
CMYKcmyk(0%, 81.7%, 87.3%, 50.6%)
CIE-LABlab(26.98, 42.67, 32.25)
CIE-LCHlch(26.98, 53.49, 37.08°)
OKLaboklab(38.7% 0.1212 0.0676)
OKLCHoklch(38.7% 0.139 29.2)
XYZxyz(9.0052, 5.0873, 0.9979)
Luminance0.0509 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1710 #10777E
analogous
#7E1040 #7E1710 #7E4E10
triadic
#7E1710 #107E17 #17107E
tetradic
#7E1710 #407E10 #10777E #4E107E
square
#7E1710 #407E10 #10777E #4E107E
split-complementary
#7E1710 #107E4E #10407E
monochromatic
#1B0503 #480D09 #7E1710 #B42117 #E33125

Accessibility & contrast

On white

10.41
#7E1710 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7E1710 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1710
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1710#FFFFFF#000000##FFFFFF
##7E17101.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38310E
Deuteranopia (green-blind)
#51480A
Tritanopia (blue-blind)
#8C0017
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1710;
/* rgb */ color: rgb(126, 23, 16);
/* oklch */ color: oklch(38.7% 0.139 29.2);
Tailwind
colors: {
  custom: {
    50: '#ac5f50',
    500: '#7e1710',
    950: '#000000',
  },
}
SCSS
$custom: #7e1710;
$custom-light: #ac5f50;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1710",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 16
  },
  "hsl": {
    "h": 3.818,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38697,
    "c": 0.13872,
    "h": 29.2
  },
  "luminance": 0.05086
}

Semantic roles & 50–950 ramp

primary
#7E1710
secondary
#36ACB4
accent
#E8F434
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1710

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

Preview Lab → · Contrast checker → · Palette generator →

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