#7E2B15#7E2B15

#7E2B15 is a dark, vivid red. Relative luminance 0.062; OKLCH L 40.9% C 0.120 H 35.6°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#7E2B15
RGBrgb(126, 43, 21)
HSLhsl(13, 71%, 29%)
HSVhsv(13, 83%, 49%)
CMYKcmyk(0%, 65.9%, 83.3%, 50.6%)
CIE-LABlab(29.96, 34.79, 32.34)
CIE-LCHlch(29.96, 47.50, 42.91°)
OKLaboklab(40.94% 0.0976 0.0698)
OKLCHoklch(40.94% 0.12 35.6)
XYZxyz(9.6045, 6.2189, 1.4040)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2B15 #15687E
analogous
#7E1534 #7E2B15 #7E6015
triadic
#7E2B15 #157E2B #2B157E
tetradic
#7E2B15 #347E15 #15687E #60157E
square
#7E2B15 #347E15 #15687E #60157E
split-complementary
#7E2B15 #157E60 #15347E
monochromatic
#1A0904 #4A190C #7E2B15 #B23D1E #DD5531

Accessibility & contrast

On white

9.36
#7E2B15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7E2B15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2B15
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2B15#FFFFFF#000000##FFFFFF
##7E2B151.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B12
Deuteranopia (green-blind)
#574D12
Tritanopia (blue-blind)
#8B1427
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2b15;
/* rgb */ color: rgb(126, 43, 21);
/* oklch */ color: oklch(40.9% 0.120 35.6);
Tailwind
colors: {
  custom: {
    50: '#ab6854',
    500: '#7e2b15',
    950: '#000000',
  },
}
SCSS
$custom: #7e2b15;
$custom-light: #ab6854;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2b15",
  "rgb": {
    "r": 126,
    "g": 43,
    "b": 21
  },
  "hsl": {
    "h": 12.571,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4094,
    "c": 0.12,
    "h": 35.6
  },
  "luminance": 0.06218
}

Semantic roles & 50–950 ramp

primary
#7E2B15
secondary
#3C9AB3
accent
#C8EE3A
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2B15

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

Preview Lab → · Contrast checker → · Palette generator →

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