#7E102A#7E102A

#7E102A is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.6% C 0.142 H 15.2°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#7E102A
RGBrgb(126, 16, 42)
HSLhsl(346, 77%, 28%)
HSVhsv(346, 87%, 49%)
CMYKcmyk(0%, 87.3%, 66.7%, 50.6%)
CIE-LABlab(26.66, 45.75, 15.48)
CIE-LCHlch(26.66, 48.30, 18.70°)
OKLaboklab(38.58% 0.1369 0.0372)
OKLCHoklch(38.58% 0.142 15.2)
XYZxyz(9.2084, 4.9748, 2.6654)
Luminance0.0497 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E102A #107E64
analogous
#7E1061 #7E102A #7E2D10
triadic
#7E102A #2A7E10 #102A7E
tetradic
#7E102A #617E10 #107E64 #2D107E
square
#7E102A #617E10 #107E64 #2D107E
split-complementary
#7E102A #107E2D #10617E
monochromatic
#1B0309 #480918 #7E102A #B4173C #E32552

Accessibility & contrast

On white

10.53
#7E102A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#7E102A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E102A
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E102A#FFFFFF#000000##FFFFFF
##7E102A1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32312A
Deuteranopia (green-blind)
#4E4727
Tritanopia (blue-blind)
#8B001C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e102a;
/* rgb */ color: rgb(126, 16, 42);
/* oklch */ color: oklch(38.6% 0.142 15.2);
Tailwind
colors: {
  custom: {
    50: '#aa5d63',
    500: '#7e102a',
    950: '#000000',
  },
}
SCSS
$custom: #7e102a;
$custom-light: #aa5d63;
$custom-dark: #000000;
JSON
{
  "hex": "#7e102a",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 42
  },
  "hsl": {
    "h": 345.818,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38579,
    "c": 0.14191,
    "h": 15.2
  },
  "luminance": 0.04973
}

Semantic roles & 50–950 ramp

primary
#7E102A
secondary
#36B496
accent
#F4C734
background
#FBF5F5
surface
#F6E9EA
border
#D0C5C6
text
#110505
muted
#807979

Preview Lab

Preview with #7E102A

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

Preview Lab → · Contrast checker → · Palette generator →

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