#7E1325#7E1325

#7E1325 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.7% C 0.140 H 18.7°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#7E1325
RGBrgb(126, 19, 37)
HSLhsl(350, 74%, 28%)
HSVhsv(350, 85%, 49%)
CMYKcmyk(0%, 84.9%, 70.6%, 50.6%)
CIE-LABlab(26.84, 44.69, 19.06)
CIE-LCHlch(26.84, 48.59, 23.10°)
OKLaboklab(38.68% 0.1324 0.0447)
OKLCHoklch(38.68% 0.14 18.7)
XYZxyz(9.1720, 5.0364, 2.2391)
Luminance0.0503 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1325 #137E6C
analogous
#7E135A #7E1325 #7E3713
triadic
#7E1325 #257E13 #13257E
tetradic
#7E1325 #5A7E13 #137E6C #37137E
square
#7E1325 #5A7E13 #137E6C #37137E
split-complementary
#7E1325 #137E37 #135A7E
monochromatic
#1B0408 #490B15 #7E1325 #B31B35 #DF2C4A

Accessibility & contrast

On white

10.46
#7E1325 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7E1325 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1325
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1325#FFFFFF#000000##FFFFFF
##7E13251.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343125
Deuteranopia (green-blind)
#4F4722
Tritanopia (blue-blind)
#8B001B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1325;
/* rgb */ color: rgb(126, 19, 37);
/* oklch */ color: oklch(38.7% 0.140 18.7);
Tailwind
colors: {
  custom: {
    50: '#ab5e5f',
    500: '#7e1325',
    950: '#000000',
  },
}
SCSS
$custom: #7e1325;
$custom-light: #ab5e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1325",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 37
  },
  "hsl": {
    "h": 349.907,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38677,
    "c": 0.13972,
    "h": 18.7
  },
  "luminance": 0.05035
}

Semantic roles & 50–950 ramp

primary
#7E1325
secondary
#39B49F
accent
#F0D137
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1325

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

Preview Lab → · Contrast checker → · Palette generator →

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