#7E1215#7E1215

#7E1215 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.4% C 0.142 H 26.1°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#7E1215
RGBrgb(126, 18, 21)
HSLhsl(358, 75%, 28%)
HSVhsv(358, 86%, 49%)
CMYKcmyk(0%, 85.7%, 83.3%, 50.6%)
CIE-LABlab(26.52, 44.27, 28.94)
CIE-LCHlch(26.52, 52.89, 33.18°)
OKLaboklab(38.37% 0.1272 0.0623)
OKLCHoklch(38.37% 0.142 26.1)
XYZxyz(8.9570, 4.9238, 1.1881)
Luminance0.0492 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1215 #127E7B
analogous
#7E124B #7E1215 #7E4512
triadic
#7E1215 #157E12 #12157E
tetradic
#7E1215 #4B7E12 #127E7B #45127E
square
#7E1215 #4B7E12 #127E7B #45127E
split-complementary
#7E1215 #127E45 #124B7E
monochromatic
#1B0404 #480A0C #7E1215 #B41A1E #E12A2F

Accessibility & contrast

On white

10.58
#7E1215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#7E1215 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1215
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1215#FFFFFF#000000##FFFFFF
##7E12151.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363014
Deuteranopia (green-blind)
#504710
Tritanopia (blue-blind)
#8B0015
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1215;
/* rgb */ color: rgb(126, 18, 21);
/* oklch */ color: oklch(38.4% 0.142 26.1);
Tailwind
colors: {
  custom: {
    50: '#ac5d53',
    500: '#7e1215',
    950: '#000000',
  },
}
SCSS
$custom: #7e1215;
$custom-light: #ac5d53;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1215",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 21
  },
  "hsl": {
    "h": 358.333,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38367,
    "c": 0.14165,
    "h": 26.1
  },
  "luminance": 0.04922
}

Semantic roles & 50–950 ramp

primary
#7E1215
secondary
#38B4B0
accent
#F2EC36
background
#FBF5F4
surface
#F6E9E7
border
#D0C5C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1215

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

Preview Lab → · Contrast checker → · Palette generator →

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