#7E1923#7E1923

#7E1923 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.1% C 0.135 H 21.3°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#7E1923
RGBrgb(126, 25, 35)
HSLhsl(354, 67%, 30%)
HSVhsv(354, 80%, 49%)
CMYKcmyk(0%, 80.2%, 72.2%, 50.6%)
CIE-LABlab(27.45, 42.77, 21.13)
CIE-LCHlch(27.45, 47.71, 26.29°)
OKLaboklab(39.12% 0.1258 0.049)
OKLCHoklch(39.12% 0.135 21.3)
XYZxyz(9.2562, 5.2537, 2.1165)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1923 #197E74
analogous
#7E1956 #7E1923 #7E4119
triadic
#7E1923 #237E19 #19237E
tetradic
#7E1923 #567E19 #197E74 #41197E
square
#7E1923 #567E19 #197E74 #41197E
split-complementary
#7E1923 #197E41 #19567E
monochromatic
#1A0507 #4B0F15 #7E1923 #B12331 #D83A49

Accessibility & contrast

On white

10.24
#7E1923 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7E1923 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1923
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1923#FFFFFF#000000##FFFFFF
##7E19231.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373323
Deuteranopia (green-blind)
#504920
Tritanopia (blue-blind)
#8B001E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1923;
/* rgb */ color: rgb(126, 25, 35);
/* oklch */ color: oklch(39.1% 0.135 21.3);
Tailwind
colors: {
  custom: {
    50: '#ab605d',
    500: '#7e1923',
    950: '#000000',
  },
}
SCSS
$custom: #7e1923;
$custom-light: #ab605d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1923",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 35
  },
  "hsl": {
    "h": 354.059,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39116,
    "c": 0.13495,
    "h": 21.3
  },
  "luminance": 0.05252
}

Semantic roles & 50–950 ramp

primary
#7E1923
secondary
#41B2A7
accent
#EAD93E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1923

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

Preview Lab → · Contrast checker → · Palette generator →

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