#7E253A#7E253A

#7E253A is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.9% C 0.123 H 10.4°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#7E253A
RGBrgb(126, 37, 58)
HSLhsl(346, 55%, 32%)
HSVhsv(346, 71%, 49%)
CMYKcmyk(0%, 70.6%, 54%, 50.6%)
CIE-LABlab(29.58, 39.83, 8.70)
CIE-LCHlch(29.58, 40.77, 12.32°)
OKLaboklab(40.86% 0.1208 0.0222)
OKLCHoklch(40.86% 0.123 10.4)
XYZxyz(10.0303, 6.0656, 4.6448)
Luminance0.0606 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E253A #257E69
analogous
#7E2567 #7E253A #7E3D25
triadic
#7E253A #3A7E25 #253A7E
tetradic
#7E253A #677E25 #257E69 #3D257E
square
#7E253A #677E25 #257E69 #3D257E
split-complementary
#7E253A #257E3D #25677E
monochromatic
#1F090E #4F1724 #7E253A #AD3350 #CC516E

Accessibility & contrast

On white

9.49
#7E253A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7E253A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E253A
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E253A#FFFFFF#000000##FFFFFF
##7E253A1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3A3A
Deuteranopia (green-blind)
#514C38
Tritanopia (blue-blind)
#8A142D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e253a;
/* rgb */ color: rgb(126, 37, 58);
/* oklch */ color: oklch(40.9% 0.123 10.4);
Tailwind
colors: {
  custom: {
    50: '#a8666f',
    500: '#7e253a',
    950: '#000000',
  },
}
SCSS
$custom: #7e253a;
$custom-light: #a8666f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e253a",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 58
  },
  "hsl": {
    "h": 345.843,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40856,
    "c": 0.12278,
    "h": 10.4
  },
  "luminance": 0.06064
}

Semantic roles & 50–950 ramp

primary
#7E253A
secondary
#4FB099
accent
#DEBB4A
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7E253A

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

Preview Lab → · Contrast checker → · Palette generator →

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