#7E102B#7E102B

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

Color values

HEX#7E102B
RGBrgb(126, 16, 43)
HSLhsl(345, 77%, 28%)
HSVhsv(345, 87%, 49%)
CMYKcmyk(0%, 87.3%, 65.9%, 50.6%)
CIE-LABlab(26.68, 45.81, 14.84)
CIE-LCHlch(26.68, 48.15, 17.94°)
OKLaboklab(38.6% 0.1374 0.0358)
OKLCHoklch(38.6% 0.142 14.6)
XYZxyz(9.2265, 4.9821, 2.7608)
Luminance0.0498 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E102B #107E63
analogous
#7E1062 #7E102B #7E2C10
triadic
#7E102B #2B7E10 #102B7E
tetradic
#7E102B #627E10 #107E63 #2C107E
square
#7E102B #627E10 #107E63 #2C107E
split-complementary
#7E102B #107E2C #10627E
monochromatic
#1B0309 #480918 #7E102B #B4173E #E32554

Accessibility & contrast

On white

10.52
#7E102B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7E102B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E102B
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E102B#FFFFFF#000000##FFFFFF
##7E102B1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e102b;
/* rgb */ color: rgb(126, 16, 43);
/* oklch */ color: oklch(38.6% 0.142 14.6);
Tailwind
colors: {
  custom: {
    50: '#aa5d64',
    500: '#7e102b',
    950: '#000000',
  },
}
SCSS
$custom: #7e102b;
$custom-light: #aa5d64;
$custom-dark: #000000;
JSON
{
  "hex": "#7e102b",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 43
  },
  "hsl": {
    "h": 345.273,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38601,
    "c": 0.14196,
    "h": 14.6
  },
  "luminance": 0.04981
}

Semantic roles & 50–950 ramp

primary
#7E102B
secondary
#36B495
accent
#F4C534
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7E102B

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

Preview Lab → · Contrast checker → · Palette generator →

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