#7E252C#7E252C

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

Color values

HEX#7E252C
RGBrgb(126, 37, 44)
HSLhsl(355, 55%, 32%)
HSVhsv(355, 71%, 49%)
CMYKcmyk(0%, 70.6%, 65.1%, 50.6%)
CIE-LABlab(29.27, 38.72, 17.52)
CIE-LCHlch(29.27, 42.50, 24.35°)
OKLaboklab(40.52% 0.1148 0.0421)
OKLCHoklch(40.52% 0.122 20.1)
XYZxyz(9.7214, 5.9420, 3.0174)
Luminance0.0594 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E252C #257E77
analogous
#7E2559 #7E252C #7E4B25
triadic
#7E252C #2C7E25 #252C7E
tetradic
#7E252C #597E25 #257E77 #4B257E
square
#7E252C #597E25 #257E77 #4B257E
split-complementary
#7E252C #257E4B #25597E
monochromatic
#1F090B #4F171B #7E252C #AD333D #CC515B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E252C#FFFFFF#000000##FFFFFF
##7E252C1.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)
#3D392C
Deuteranopia (green-blind)
#534C2A
Tritanopia (blue-blind)
#8A0E28
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e252c;
/* rgb */ color: rgb(126, 37, 44);
/* oklch */ color: oklch(40.5% 0.122 20.1);
Tailwind
colors: {
  custom: {
    50: '#a96665',
    500: '#7e252c',
    950: '#000000',
  },
}
SCSS
$custom: #7e252c;
$custom-light: #a96665;
$custom-dark: #000000;
JSON
{
  "hex": "#7e252c",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 44
  },
  "hsl": {
    "h": 355.281,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40523,
    "c": 0.1223,
    "h": 20.1
  },
  "luminance": 0.05941
}

Semantic roles & 50–950 ramp

primary
#7E252C
secondary
#4FB0A8
accent
#DED24A
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7E252C

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

Preview Lab → · Contrast checker → · Palette generator →

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