#7E252B#7E252B

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

Color values

HEX#7E252B
RGBrgb(126, 37, 43)
HSLhsl(356, 55%, 32%)
HSVhsv(356, 71%, 49%)
CMYKcmyk(0%, 70.6%, 65.9%, 50.6%)
CIE-LABlab(29.25, 38.65, 18.15)
CIE-LCHlch(29.25, 42.70, 25.15°)
OKLaboklab(40.5% 0.1144 0.0434)
OKLCHoklch(40.5% 0.122 20.8)
XYZxyz(9.7028, 5.9345, 2.9196)
Luminance0.0593 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E252B #257E78
analogous
#7E2558 #7E252B #7E4C25
triadic
#7E252B #2B7E25 #252B7E
tetradic
#7E252B #587E25 #257E78 #4C257E
square
#7E252B #587E25 #257E78 #4C257E
split-complementary
#7E252B #257E4C #25587E
monochromatic
#1F090B #4F171B #7E252B #AD333B #CC515A

Accessibility & contrast

On white

9.60
#7E252B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E252B
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E252B#FFFFFF#000000##FFFFFF
##7E252B1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e252b;
/* rgb */ color: rgb(126, 37, 43);
/* oklch */ color: oklch(40.5% 0.122 20.8);
Tailwind
colors: {
  custom: {
    50: '#a96664',
    500: '#7e252b',
    950: '#000000',
  },
}
SCSS
$custom: #7e252b;
$custom-light: #a96664;
$custom-dark: #000000;
JSON
{
  "hex": "#7e252b",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 43
  },
  "hsl": {
    "h": 355.955,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40502,
    "c": 0.12237,
    "h": 20.8
  },
  "luminance": 0.05933
}

Semantic roles & 50–950 ramp

primary
#7E252B
secondary
#4FB0AA
accent
#DED44A
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7E252B

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

Preview Lab → · Contrast checker → · Palette generator →

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