#7E2515#7E2515

#7E2515 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.2% C 0.126 H 32.5°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#7E2515
RGBrgb(126, 37, 21)
HSLhsl(9, 71%, 29%)
HSVhsv(9, 83%, 49%)
CMYKcmyk(0%, 70.6%, 83.3%, 50.6%)
CIE-LABlab(28.94, 37.54, 31.35)
CIE-LCHlch(28.94, 48.91, 39.86°)
OKLaboklab(40.17% 0.1061 0.0676)
OKLCHoklch(40.17% 0.126 32.5)
XYZxyz(9.4022, 5.8143, 1.3365)
Luminance0.0581 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2515 #156E7E
analogous
#7E153A #7E2515 #7E5A15
triadic
#7E2515 #157E25 #25157E
tetradic
#7E2515 #3A7E15 #156E7E #5A157E
square
#7E2515 #3A7E15 #156E7E #5A157E
split-complementary
#7E2515 #157E5A #153A7E
monochromatic
#1A0804 #4A160C #7E2515 #B2341E #DD4B31

Accessibility & contrast

On white

9.71
#7E2515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7E2515 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2515
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2515#FFFFFF#000000##FFFFFF
##7E25151.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3812
Deuteranopia (green-blind)
#554B11
Tritanopia (blue-blind)
#8B0622
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e2515;
/* rgb */ color: rgb(126, 37, 21);
/* oklch */ color: oklch(40.2% 0.126 32.5);
Tailwind
colors: {
  custom: {
    50: '#ab6554',
    500: '#7e2515',
    950: '#000000',
  },
}
SCSS
$custom: #7e2515;
$custom-light: #ab6554;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2515",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 21
  },
  "hsl": {
    "h": 9.143,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40174,
    "c": 0.12583,
    "h": 32.5
  },
  "luminance": 0.05813
}

Semantic roles & 50–950 ramp

primary
#7E2515
secondary
#3CA1B3
accent
#D3EE3A
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110602
muted
#807A78

Preview Lab

Preview with #7E2515

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

Preview Lab → · Contrast checker → · Palette generator →

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