#7E1825#7E1825

#7E1825 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.1% C 0.136 H 19.9°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#7E1825
RGBrgb(126, 24, 37)
HSLhsl(352, 68%, 29%)
HSVhsv(352, 81%, 49%)
CMYKcmyk(0%, 81%, 70.6%, 50.6%)
CIE-LABlab(27.36, 43.21, 19.72)
CIE-LCHlch(27.36, 47.49, 24.53°)
OKLaboklab(39.07% 0.1276 0.0462)
OKLCHoklch(39.07% 0.136 19.9)
XYZxyz(9.2658, 5.2239, 2.2703)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1825 #187E71
analogous
#7E1858 #7E1825 #7E3E18
triadic
#7E1825 #257E18 #18257E
tetradic
#7E1825 #587E18 #187E71 #3E187E
square
#7E1825 #587E18 #187E71 #3E187E
split-complementary
#7E1825 #187E3E #18587E
monochromatic
#1A0508 #4B0E16 #7E1825 #B12234 #D9374C

Accessibility & contrast

On white

10.27
#7E1825 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1825
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1825#FFFFFF#000000##FFFFFF
##7E18251.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1825;
/* rgb */ color: rgb(126, 24, 37);
/* oklch */ color: oklch(39.1% 0.136 19.9);
Tailwind
colors: {
  custom: {
    50: '#aa605f',
    500: '#7e1825',
    950: '#000000',
  },
}
SCSS
$custom: #7e1825;
$custom-light: #aa605f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1825",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 37
  },
  "hsl": {
    "h": 352.353,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39066,
    "c": 0.13571,
    "h": 19.9
  },
  "luminance": 0.05222
}

Semantic roles & 50–950 ramp

primary
#7E1825
secondary
#3FB2A4
accent
#EBD53D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1825

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

Preview Lab → · Contrast checker → · Palette generator →

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