#7E252E#7E252E

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

Color values

HEX#7E252E
RGBrgb(126, 37, 46)
HSLhsl(354, 55%, 32%)
HSVhsv(354, 71%, 49%)
CMYKcmyk(0%, 70.6%, 63.5%, 50.6%)
CIE-LABlab(29.30, 38.86, 16.26)
CIE-LCHlch(29.30, 42.12, 22.71°)
OKLaboklab(40.56% 0.1157 0.0394)
OKLCHoklch(40.56% 0.122 18.8)
XYZxyz(9.7599, 5.9574, 3.2202)
Luminance0.0596 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E252E #257E75
analogous
#7E255A #7E252E #7E4925
triadic
#7E252E #2E7E25 #252E7E
tetradic
#7E252E #5A7E25 #257E75 #49257E
square
#7E252E #5A7E25 #257E75 #49257E
split-complementary
#7E252E #257E49 #255A7E
monochromatic
#1F090B #4F171D #7E252E #AD333F #CC515E

Accessibility & contrast

On white

9.58
#7E252E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E252E
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E252E#FFFFFF#000000##FFFFFF
##7E252E1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e252e;
/* rgb */ color: rgb(126, 37, 46);
/* oklch */ color: oklch(40.6% 0.122 18.8);
Tailwind
colors: {
  custom: {
    50: '#a96666',
    500: '#7e252e',
    950: '#000000',
  },
}
SCSS
$custom: #7e252e;
$custom-light: #a96666;
$custom-dark: #000000;
JSON
{
  "hex": "#7e252e",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 46
  },
  "hsl": {
    "h": 353.933,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40564,
    "c": 0.1222,
    "h": 18.8
  },
  "luminance": 0.05956
}

Semantic roles & 50–950 ramp

primary
#7E252E
secondary
#4FB0A6
accent
#DECF4A
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E252E

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

Preview Lab → · Contrast checker → · Palette generator →

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