#7E2725#7E2725

#7E2725 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.6% C 0.121 H 25.4°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#7E2725
RGBrgb(126, 39, 37)
HSLhsl(1, 55%, 32%)
HSVhsv(1, 71%, 49%)
CMYKcmyk(0%, 69%, 70.6%, 50.6%)
CIE-LABlab(29.47, 37.40, 22.29)
CIE-LCHlch(29.47, 43.53, 30.80°)
OKLaboklab(40.63% 0.1091 0.0519)
OKLCHoklch(40.63% 0.121 25.4)
XYZxyz(9.6646, 6.0216, 2.4033)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2725 #257C7E
analogous
#7E2550 #7E2725 #7E5425
triadic
#7E2725 #257E27 #27257E
tetradic
#7E2725 #507E25 #257C7E #54257E
square
#7E2725 #507E25 #257C7E #54257E
split-complementary
#7E2725 #257E54 #25507E
monochromatic
#1F0A09 #4F1817 #7E2725 #AD3633 #CC5451

Accessibility & contrast

On white

9.53
#7E2725 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7E2725 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2725
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2725#FFFFFF#000000##FFFFFF
##7E27251.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3A24
Deuteranopia (green-blind)
#554C22
Tritanopia (blue-blind)
#8B1027
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e2725;
/* rgb */ color: rgb(126, 39, 37);
/* oklch */ color: oklch(40.6% 0.121 25.4);
Tailwind
colors: {
  custom: {
    50: '#aa665f',
    500: '#7e2725',
    950: '#000000',
  },
}
SCSS
$custom: #7e2725;
$custom-light: #aa665f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2725",
  "rgb": {
    "r": 126,
    "g": 39,
    "b": 37
  },
  "hsl": {
    "h": 1.348,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40634,
    "c": 0.12084,
    "h": 25.4
  },
  "luminance": 0.0602
}

Semantic roles & 50–950 ramp

primary
#7E2725
secondary
#4FAEB0
accent
#DBDE4A
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E2725

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

Preview Lab → · Contrast checker → · Palette generator →

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