#7E252A#7E252A

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

Color values

HEX#7E252A
RGBrgb(126, 37, 42)
HSLhsl(357, 55%, 32%)
HSVhsv(357, 71%, 49%)
CMYKcmyk(0%, 70.6%, 66.7%, 50.6%)
CIE-LABlab(29.23, 38.59, 18.78)
CIE-LCHlch(29.23, 42.91, 25.95°)
OKLaboklab(40.48% 0.114 0.0447)
OKLCHoklch(40.48% 0.122 21.4)
XYZxyz(9.6847, 5.9273, 2.8242)
Luminance0.0593 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E252A #257E79
analogous
#7E2557 #7E252A #7E4D25
triadic
#7E252A #2A7E25 #252A7E
tetradic
#7E252A #577E25 #257E79 #4D257E
square
#7E252A #577E25 #257E79 #4D257E
split-complementary
#7E252A #257E4D #25577E
monochromatic
#1F090A #4F171A #7E252A #AD333A #CC5158

Accessibility & contrast

On white

9.61
#7E252A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E252A
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E252A#FFFFFF#000000##FFFFFF
##7E252A1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3929
Deuteranopia (green-blind)
#534C28
Tritanopia (blue-blind)
#8B0E28
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e252a;
/* rgb */ color: rgb(126, 37, 42);
/* oklch */ color: oklch(40.5% 0.122 21.4);
Tailwind
colors: {
  custom: {
    50: '#a96663',
    500: '#7e252a',
    950: '#000000',
  },
}
SCSS
$custom: #7e252a;
$custom-light: #a96663;
$custom-dark: #000000;
JSON
{
  "hex": "#7e252a",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 42
  },
  "hsl": {
    "h": 356.629,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40483,
    "c": 0.12245,
    "h": 21.4
  },
  "luminance": 0.05926
}

Semantic roles & 50–950 ramp

primary
#7E252A
secondary
#4FB0AB
accent
#DED64A
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7E252A

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

Preview Lab → · Contrast checker → · Palette generator →

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