#7E251E#7E251E

#7E251E is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.3% C 0.124 H 28.4°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#7E251E
RGBrgb(126, 37, 30)
HSLhsl(4, 62%, 31%)
HSVhsv(4, 76%, 49%)
CMYKcmyk(0%, 70.6%, 76.2%, 50.6%)
CIE-LABlab(29.04, 37.91, 26.17)
CIE-LCHlch(29.04, 46.06, 34.62°)
OKLaboklab(40.28% 0.1092 0.059)
OKLCHoklch(40.28% 0.124 28.4)
XYZxyz(9.5011, 5.8539, 1.8577)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E251E #1E777E
analogous
#7E1E47 #7E251E #7E551E
triadic
#7E251E #1E7E25 #251E7E
tetradic
#7E251E #477E1E #1E777E #551E7E
square
#7E251E #477E1E #1E777E #551E7E
split-complementary
#7E251E #1E7E55 #1E477E
monochromatic
#1B0806 #4D1612 #7E251E #AF342A #D24E44

Accessibility & contrast

On white

9.68
#7E251E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E251E
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E251E#FFFFFF#000000##FFFFFF
##7E251E1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E381D
Deuteranopia (green-blind)
#544C1B
Tritanopia (blue-blind)
#8B0924
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e251e;
/* rgb */ color: rgb(126, 37, 30);
/* oklch */ color: oklch(40.3% 0.124 28.4);
Tailwind
colors: {
  custom: {
    50: '#aa655a',
    500: '#7e251e',
    950: '#000000',
  },
}
SCSS
$custom: #7e251e;
$custom-light: #aa655a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e251e",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 30
  },
  "hsl": {
    "h": 4.375,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40282,
    "c": 0.12411,
    "h": 28.4
  },
  "luminance": 0.05852
}

Semantic roles & 50–950 ramp

primary
#7E251E
secondary
#47A9B1
accent
#D9E543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E251E

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

Preview Lab → · Contrast checker → · Palette generator →

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