#7E1D25#7E1D25

#7E1D25 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.5% C 0.131 H 21.4°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#7E1D25
RGBrgb(126, 29, 37)
HSLhsl(355, 63%, 30%)
HSVhsv(355, 77%, 49%)
CMYKcmyk(0%, 77%, 70.6%, 50.6%)
CIE-LABlab(27.98, 41.49, 20.47)
CIE-LCHlch(27.98, 46.26, 26.27°)
OKLaboklab(39.52% 0.1221 0.0479)
OKLCHoklch(39.52% 0.131 21.4)
XYZxyz(9.3785, 5.4493, 2.3079)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D25 #1D7E76
analogous
#7E1D55 #7E1D25 #7E461D
triadic
#7E1D25 #257E1D #1D257E
tetradic
#7E1D25 #557E1D #1D7E76 #461D7E
square
#7E1D25 #557E1D #1D7E76 #461D7E
split-complementary
#7E1D25 #1D7E46 #1D557E
monochromatic
#1B0608 #4C1216 #7E1D25 #B02834 #D3424E

Accessibility & contrast

On white

10.05
#7E1D25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7E1D25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D25
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D25#FFFFFF#000000##FFFFFF
##7E1D251.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393524
Deuteranopia (green-blind)
#514A22
Tritanopia (blue-blind)
#8B0021
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1d25;
/* rgb */ color: rgb(126, 29, 37);
/* oklch */ color: oklch(39.5% 0.131 21.4);
Tailwind
colors: {
  custom: {
    50: '#aa625f',
    500: '#7e1d25',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d25;
$custom-light: #aa625f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d25",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 37
  },
  "hsl": {
    "h": 355.052,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39523,
    "c": 0.13115,
    "h": 21.4
  },
  "luminance": 0.05448
}

Semantic roles & 50–950 ramp

primary
#7E1D25
secondary
#45B1A9
accent
#E6D842
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7E1D25

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

Preview Lab → · Contrast checker → · Palette generator →

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