#7E1023#7E1023

#7E1023 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.4% C 0.142 H 19.1°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#7E1023
RGBrgb(126, 16, 35)
HSLhsl(350, 77%, 28%)
HSVhsv(350, 87%, 49%)
CMYKcmyk(0%, 87.3%, 72.2%, 50.6%)
CIE-LABlab(26.53, 45.36, 20.02)
CIE-LCHlch(26.53, 49.58, 23.81°)
OKLaboklab(38.44% 0.134 0.0465)
OKLCHoklch(38.44% 0.142 19.1)
XYZxyz(9.0939, 4.9290, 2.0623)
Luminance0.0493 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1023 #107E6B
analogous
#7E105A #7E1023 #7E3410
triadic
#7E1023 #237E10 #10237E
tetradic
#7E1023 #5A7E10 #107E6B #34107E
square
#7E1023 #5A7E10 #107E6B #34107E
split-complementary
#7E1023 #107E34 #105A7E
monochromatic
#1B0308 #480914 #7E1023 #B41732 #E32546

Accessibility & contrast

On white

10.58
#7E1023 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1023
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1023#FFFFFF#000000##FFFFFF
##7E10231.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343023
Deuteranopia (green-blind)
#4F471F
Tritanopia (blue-blind)
#8B0019
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1023;
/* rgb */ color: rgb(126, 16, 35);
/* oklch */ color: oklch(38.4% 0.142 19.1);
Tailwind
colors: {
  custom: {
    50: '#ab5d5d',
    500: '#7e1023',
    950: '#000000',
  },
}
SCSS
$custom: #7e1023;
$custom-light: #ab5d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1023",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 35
  },
  "hsl": {
    "h": 349.636,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3844,
    "c": 0.14188,
    "h": 19.1
  },
  "luminance": 0.04928
}

Semantic roles & 50–950 ramp

primary
#7E1023
secondary
#36B49E
accent
#F4D334
background
#FBF5F5
surface
#F6E9E9
border
#D0C5C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1023

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

Preview Lab → · Contrast checker → · Palette generator →

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