#7E253B#7E253B

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

Color values

HEX#7E253B
RGBrgb(126, 37, 59)
HSLhsl(345, 55%, 32%)
HSVhsv(345, 71%, 49%)
CMYKcmyk(0%, 70.6%, 53.2%, 50.6%)
CIE-LABlab(29.60, 39.92, 8.07)
CIE-LCHlch(29.60, 40.73, 11.43°)
OKLaboklab(40.88% 0.1212 0.0207)
OKLCHoklch(40.88% 0.123 9.7)
XYZxyz(10.0560, 6.0758, 4.7800)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E253B #257E68
analogous
#7E2567 #7E253B #7E3C25
triadic
#7E253B #3B7E25 #253B7E
tetradic
#7E253B #677E25 #257E68 #3C257E
square
#7E253B #677E25 #257E68 #3C257E
split-complementary
#7E253B #257E3C #25677E
monochromatic
#1F090F #4F1725 #7E253B #AD3351 #CC5170

Accessibility & contrast

On white

9.48
#7E253B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7E253B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E253B
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E253B#FFFFFF#000000##FFFFFF
##7E253B1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3A3B
Deuteranopia (green-blind)
#514C39
Tritanopia (blue-blind)
#8A152E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e253b;
/* rgb */ color: rgb(126, 37, 59);
/* oklch */ color: oklch(40.9% 0.123 9.7);
Tailwind
colors: {
  custom: {
    50: '#a86670',
    500: '#7e253b',
    950: '#000000',
  },
}
SCSS
$custom: #7e253b;
$custom-light: #a86670;
$custom-dark: #000000;
JSON
{
  "hex": "#7e253b",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 59
  },
  "hsl": {
    "h": 345.169,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40884,
    "c": 0.12292,
    "h": 9.7
  },
  "luminance": 0.06075
}

Semantic roles & 50–950 ramp

primary
#7E253B
secondary
#4FB098
accent
#DEB94A
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7E253B

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

Preview Lab → · Contrast checker → · Palette generator →

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