#7E1932#7E1932

#7E1932 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.135 H 12.2°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#7E1932
RGBrgb(126, 25, 50)
HSLhsl(345, 67%, 30%)
HSVhsv(345, 80%, 49%)
CMYKcmyk(0%, 80.2%, 60.3%, 50.6%)
CIE-LABlab(27.74, 43.72, 11.53)
CIE-LCHlch(27.74, 45.22, 14.77°)
OKLaboklab(39.43% 0.132 0.0286)
OKLCHoklch(39.43% 0.135 12.2)
XYZxyz(9.5285, 5.3626, 3.5503)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1932 #197E65
analogous
#7E1964 #7E1932 #7E3319
triadic
#7E1932 #327E19 #19327E
tetradic
#7E1932 #647E19 #197E65 #33197E
square
#7E1932 #647E19 #197E65 #33197E
split-complementary
#7E1932 #197E33 #19647E
monochromatic
#1A050A #4B0F1E #7E1932 #B12346 #D83A61

Accessibility & contrast

On white

10.13
#7E1932 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7E1932 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1932
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1932#FFFFFF#000000##FFFFFF
##7E19321.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353432
Deuteranopia (green-blind)
#4F492F
Tritanopia (blue-blind)
#8A0024
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1932;
/* rgb */ color: rgb(126, 25, 50);
/* oklch */ color: oklch(39.4% 0.135 12.2);
Tailwind
colors: {
  custom: {
    50: '#a96069',
    500: '#7e1932',
    950: '#000000',
  },
}
SCSS
$custom: #7e1932;
$custom-light: #a96069;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1932",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 50
  },
  "hsl": {
    "h": 345.149,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39433,
    "c": 0.13509,
    "h": 12.2
  },
  "luminance": 0.05361
}

Semantic roles & 50–950 ramp

primary
#7E1932
secondary
#41B296
accent
#EABF3E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #7E1932

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

Preview Lab → · Contrast checker → · Palette generator →

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