#7E1F15#7E1F15

#7E1F15 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.5% C 0.131 H 30.0°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#7E1F15
RGBrgb(126, 31, 21)
HSLhsl(6, 71%, 29%)
HSVhsv(6, 83%, 49%)
CMYKcmyk(0%, 75.4%, 83.3%, 50.6%)
CIE-LABlab(28.04, 40.01, 30.46)
CIE-LCHlch(28.04, 50.29, 37.28°)
OKLaboklab(39.5% 0.1138 0.0656)
OKLCHoklch(39.5% 0.131 30)
XYZxyz(9.2306, 5.4712, 1.2793)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1F15 #15747E
analogous
#7E1540 #7E1F15 #7E5415
triadic
#7E1F15 #157E1F #1F157E
tetradic
#7E1F15 #407E15 #15747E #54157E
square
#7E1F15 #407E15 #15747E #54157E
split-complementary
#7E1F15 #157E54 #15407E
monochromatic
#1A0604 #4A120C #7E1F15 #B22C1E #DD4131

Accessibility & contrast

On white

10.03
#7E1F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7E1F15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1F15
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1F15#FFFFFF#000000##FFFFFF
##7E1F151.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3513
Deuteranopia (green-blind)
#534A10
Tritanopia (blue-blind)
#8B001E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1f15;
/* rgb */ color: rgb(126, 31, 21);
/* oklch */ color: oklch(39.5% 0.131 30.0);
Tailwind
colors: {
  custom: {
    50: '#ab6253',
    500: '#7e1f15',
    950: '#000000',
  },
}
SCSS
$custom: #7e1f15;
$custom-light: #ab6253;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1f15",
  "rgb": {
    "r": 126,
    "g": 31,
    "b": 21
  },
  "hsl": {
    "h": 5.714,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39498,
    "c": 0.1314,
    "h": 30
  },
  "luminance": 0.0547
}

Semantic roles & 50–950 ramp

primary
#7E1F15
secondary
#3CA8B3
accent
#DDEE3A
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78

Preview Lab

Preview with #7E1F15

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

Preview Lab → · Contrast checker → · Palette generator →

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