#7E1725#7E1725

#7E1725 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.137 H 19.6°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#7E1725
RGBrgb(126, 23, 37)
HSLhsl(352, 69%, 29%)
HSVhsv(352, 82%, 49%)
CMYKcmyk(0%, 81.7%, 70.6%, 50.6%)
CIE-LABlab(27.25, 43.52, 19.58)
CIE-LCHlch(27.25, 47.72, 24.22°)
OKLaboklab(38.98% 0.1286 0.0459)
OKLCHoklch(38.98% 0.137 19.6)
XYZxyz(9.2456, 5.1834, 2.2636)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1725 #177E70
analogous
#7E1759 #7E1725 #7E3D17
triadic
#7E1725 #257E17 #17257E
tetradic
#7E1725 #597E17 #177E70 #3D177E
square
#7E1725 #597E17 #177E70 #3D177E
split-complementary
#7E1725 #177E3D #17597E
monochromatic
#1A0508 #4A0E16 #7E1725 #B22034 #DA354C

Accessibility & contrast

On white

10.31
#7E1725 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7E1725 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1725
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1725#FFFFFF#000000##FFFFFF
##7E17251.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363225
Deuteranopia (green-blind)
#504822
Tritanopia (blue-blind)
#8B001D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1725;
/* rgb */ color: rgb(126, 23, 37);
/* oklch */ color: oklch(39.0% 0.137 19.6);
Tailwind
colors: {
  custom: {
    50: '#ab5f5f',
    500: '#7e1725',
    950: '#000000',
  },
}
SCSS
$custom: #7e1725;
$custom-light: #ab5f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1725",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 37
  },
  "hsl": {
    "h": 351.845,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38983,
    "c": 0.13655,
    "h": 19.6
  },
  "luminance": 0.05182
}

Semantic roles & 50–950 ramp

primary
#7E1725
secondary
#3EB3A3
accent
#ECD43C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1725

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

Preview Lab → · Contrast checker → · Palette generator →

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