#7E252D#7E252D

#7E252D is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.5% C 0.122 H 19.5°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#7E252D
RGBrgb(126, 37, 45)
HSLhsl(355, 55%, 32%)
HSVhsv(355, 71%, 49%)
CMYKcmyk(0%, 70.6%, 64.3%, 50.6%)
CIE-LABlab(29.29, 38.79, 16.89)
CIE-LCHlch(29.29, 42.31, 23.53°)
OKLaboklab(40.54% 0.1153 0.0408)
OKLCHoklch(40.54% 0.122 19.5)
XYZxyz(9.7404, 5.9496, 3.1176)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E252D #257E76
analogous
#7E255A #7E252D #7E4A25
triadic
#7E252D #2D7E25 #252D7E
tetradic
#7E252D #5A7E25 #257E76 #4A257E
square
#7E252D #5A7E25 #257E76 #4A257E
split-complementary
#7E252D #257E4A #255A7E
monochromatic
#1F090B #4F171C #7E252D #AD333E #CC515C

Accessibility & contrast

On white

9.59
#7E252D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7E252D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E252D
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E252D#FFFFFF#000000##FFFFFF
##7E252D1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C392D
Deuteranopia (green-blind)
#534C2B
Tritanopia (blue-blind)
#8A0F29
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e252d;
/* rgb */ color: rgb(126, 37, 45);
/* oklch */ color: oklch(40.5% 0.122 19.5);
Tailwind
colors: {
  custom: {
    50: '#a96665',
    500: '#7e252d',
    950: '#000000',
  },
}
SCSS
$custom: #7e252d;
$custom-light: #a96665;
$custom-dark: #000000;
JSON
{
  "hex": "#7e252d",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 45
  },
  "hsl": {
    "h": 354.607,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40543,
    "c": 0.12225,
    "h": 19.5
  },
  "luminance": 0.05948
}

Semantic roles & 50–950 ramp

primary
#7E252D
secondary
#4FB0A7
accent
#DED14A
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7E252D

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

Preview Lab → · Contrast checker → · Palette generator →

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