#7E1927#7E1927

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

Color values

HEX#7E1927
RGBrgb(126, 25, 39)
HSLhsl(352, 67%, 30%)
HSVhsv(352, 80%, 49%)
CMYKcmyk(0%, 80.2%, 69%, 50.6%)
CIE-LABlab(27.51, 43.00, 18.58)
CIE-LCHlch(27.51, 46.84, 23.37°)
OKLaboklab(39.19% 0.1274 0.0439)
OKLCHoklch(39.19% 0.135 19)
XYZxyz(9.3191, 5.2788, 2.4473)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1927 #197E70
analogous
#7E195A #7E1927 #7E3E19
triadic
#7E1927 #277E19 #19277E
tetradic
#7E1927 #5A7E19 #197E70 #3E197E
square
#7E1927 #5A7E19 #197E70 #3E197E
split-complementary
#7E1927 #197E3E #195A7E
monochromatic
#1A0508 #4B0F17 #7E1927 #B12337 #D83A50

Accessibility & contrast

On white

10.22
#7E1927 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7E1927 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1927
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1927#FFFFFF#000000##FFFFFF
##7E19271.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373327
Deuteranopia (green-blind)
#504924
Tritanopia (blue-blind)
#8B001F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1927;
/* rgb */ color: rgb(126, 25, 39);
/* oklch */ color: oklch(39.2% 0.135 19.0);
Tailwind
colors: {
  custom: {
    50: '#aa6060',
    500: '#7e1927',
    950: '#000000',
  },
}
SCSS
$custom: #7e1927;
$custom-light: #aa6060;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1927",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 39
  },
  "hsl": {
    "h": 351.683,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3919,
    "c": 0.13475,
    "h": 19
  },
  "luminance": 0.05277
}

Semantic roles & 50–950 ramp

primary
#7E1927
secondary
#41B2A2
accent
#EAD23E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7E1927

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

Preview Lab → · Contrast checker → · Palette generator →

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