#7E1B25#7E1B25

#7E1B25 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.3% C 0.133 H 20.8°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#7E1B25
RGBrgb(126, 27, 37)
HSLhsl(354, 65%, 30%)
HSVhsv(354, 79%, 49%)
CMYKcmyk(0%, 78.6%, 70.6%, 50.6%)
CIE-LABlab(27.72, 42.20, 20.16)
CIE-LCHlch(27.72, 46.77, 25.53°)
OKLaboklab(39.33% 0.1244 0.0472)
OKLCHoklch(39.33% 0.133 20.8)
XYZxyz(9.3311, 5.3545, 2.2921)
Luminance0.0535 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B25 #1B7E74
analogous
#7E1B57 #7E1B25 #7E421B
triadic
#7E1B25 #257E1B #1B257E
tetradic
#7E1B25 #577E1B #1B7E74 #421B7E
square
#7E1B25 #577E1B #1B7E74 #421B7E
split-complementary
#7E1B25 #1B7E42 #1B577E
monochromatic
#190507 #4C1016 #7E1B25 #B02634 #D63E4D

Accessibility & contrast

On white

10.14
#7E1B25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7E1B25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1B25
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B25#FFFFFF#000000##FFFFFF
##7E1B251.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383425
Deuteranopia (green-blind)
#514922
Tritanopia (blue-blind)
#8B0020
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1b25;
/* rgb */ color: rgb(126, 27, 37);
/* oklch */ color: oklch(39.3% 0.133 20.8);
Tailwind
colors: {
  custom: {
    50: '#aa615f',
    500: '#7e1b25',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b25;
$custom-light: #aa615f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b25",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 37
  },
  "hsl": {
    "h": 353.939,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.39332,
    "c": 0.13303,
    "h": 20.8
  },
  "luminance": 0.05353
}

Semantic roles & 50–950 ramp

primary
#7E1B25
secondary
#43B2A7
accent
#E8D740
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7E1B25

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

Preview Lab → · Contrast checker → · Palette generator →

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