#7E1F25#7E1F25

#7E1F25 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.7% C 0.129 H 22.1°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#7E1F25
RGBrgb(126, 31, 37)
HSLhsl(356, 61%, 31%)
HSVhsv(356, 75%, 49%)
CMYKcmyk(0%, 75.4%, 70.6%, 50.6%)
CIE-LABlab(28.25, 40.73, 20.81)
CIE-LCHlch(28.25, 45.74, 27.06°)
OKLaboklab(39.72% 0.1197 0.0486)
OKLCHoklch(39.72% 0.129 22.1)
XYZxyz(9.4291, 5.5506, 2.3248)
Luminance0.0555 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1F25 #1F7E78
analogous
#7E1F54 #7E1F25 #7E481F
triadic
#7E1F25 #257E1F #1F257E
tetradic
#7E1F25 #547E1F #1F7E78 #481F7E
square
#7E1F25 #547E1F #1F7E78 #481F7E
split-complementary
#7E1F25 #1F7E48 #1F547E
monochromatic
#1C0708 #4D1317 #7E1F25 #AF2B33 #D1464F

Accessibility & contrast

On white

9.95
#7E1F25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7E1F25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1F25
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1F25#FFFFFF#000000##FFFFFF
##7E1F251.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3624
Deuteranopia (green-blind)
#524A22
Tritanopia (blue-blind)
#8B0022
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1f25;
/* rgb */ color: rgb(126, 31, 37);
/* oklch */ color: oklch(39.7% 0.129 22.1);
Tailwind
colors: {
  custom: {
    50: '#aa635f',
    500: '#7e1f25',
    950: '#000000',
  },
}
SCSS
$custom: #7e1f25;
$custom-light: #aa635f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1f25",
  "rgb": {
    "r": 126,
    "g": 31,
    "b": 37
  },
  "hsl": {
    "h": 356.211,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39724,
    "c": 0.1292,
    "h": 22.1
  },
  "luminance": 0.05549
}

Semantic roles & 50–950 ramp

primary
#7E1F25
secondary
#48B1AA
accent
#E4DA44
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E1F25

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

Preview Lab → · Contrast checker → · Palette generator →

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