#7E2518#7E2518

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

Color values

HEX#7E2518
RGBrgb(126, 37, 24)
HSLhsl(8, 68%, 29%)
HSVhsv(8, 81%, 49%)
CMYKcmyk(0%, 70.6%, 81%, 50.6%)
CIE-LABlab(28.97, 37.65, 29.68)
CIE-LCHlch(28.97, 47.94, 38.24°)
OKLaboklab(40.21% 0.1071 0.0649)
OKLCHoklch(40.21% 0.125 31.2)
XYZxyz(9.4317, 5.8261, 1.4919)
Luminance0.0583 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2518 #18717E
analogous
#7E183E #7E2518 #7E5818
triadic
#7E2518 #187E25 #25187E
tetradic
#7E2518 #3E7E18 #18717E #58187E
square
#7E2518 #3E7E18 #18717E #58187E
split-complementary
#7E2518 #187E58 #183E7E
monochromatic
#1A0805 #4B160E #7E2518 #B13422 #D94C37

Accessibility & contrast

On white

9.70
#7E2518 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7E2518 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2518
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2518#FFFFFF#000000##FFFFFF
##7E25181.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3816
Deuteranopia (green-blind)
#554B14
Tritanopia (blue-blind)
#8B0723
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e2518;
/* rgb */ color: rgb(126, 37, 24);
/* oklch */ color: oklch(40.2% 0.125 31.2);
Tailwind
colors: {
  custom: {
    50: '#ab6556',
    500: '#7e2518',
    950: '#000000',
  },
}
SCSS
$custom: #7e2518;
$custom-light: #ab6556;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2518",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 24
  },
  "hsl": {
    "h": 7.647,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40206,
    "c": 0.12524,
    "h": 31.2
  },
  "luminance": 0.05825
}

Semantic roles & 50–950 ramp

primary
#7E2518
secondary
#3FA4B2
accent
#D5EB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2518

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

Preview Lab → · Contrast checker → · Palette generator →

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