#7E1F32#7E1F32

#7E1F32 is a dark, vivid red. Relative luminance 0.056; OKLCH L 40.0% C 0.129 H 13.9°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#7E1F32
RGBrgb(126, 31, 50)
HSLhsl(348, 61%, 31%)
HSVhsv(348, 75%, 49%)
CMYKcmyk(0%, 75.4%, 60.3%, 50.6%)
CIE-LABlab(28.50, 41.59, 12.55)
CIE-LCHlch(28.50, 43.45, 16.79°)
OKLaboklab(40% 0.1252 0.0311)
OKLCHoklch(40% 0.129 13.9)
XYZxyz(9.6708, 5.6473, 3.5978)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1F32 #1F7E6B
analogous
#7E1F61 #7E1F32 #7E3B1F
triadic
#7E1F32 #327E1F #1F327E
tetradic
#7E1F32 #617E1F #1F7E6B #3B1F7E
square
#7E1F32 #617E1F #1F7E6B #3B1F7E
split-complementary
#7E1F32 #1F7E3B #1F617E
monochromatic
#1C070B #4D131F #7E1F32 #AF2B45 #D14662

Accessibility & contrast

On white

9.86
#7E1F32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7E1F32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1F32
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1F32#FFFFFF#000000##FFFFFF
##7E1F321.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383732
Deuteranopia (green-blind)
#504A30
Tritanopia (blue-blind)
#8A0427
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1f32;
/* rgb */ color: rgb(126, 31, 50);
/* oklch */ color: oklch(40.0% 0.129 13.9);
Tailwind
colors: {
  custom: {
    50: '#a96369',
    500: '#7e1f32',
    950: '#000000',
  },
}
SCSS
$custom: #7e1f32;
$custom-light: #a96369;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1f32",
  "rgb": {
    "r": 126,
    "g": 31,
    "b": 50
  },
  "hsl": {
    "h": 348,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39997,
    "c": 0.12897,
    "h": 13.9
  },
  "luminance": 0.05646
}

Semantic roles & 50–950 ramp

primary
#7E1F32
secondary
#48B19C
accent
#E4C444
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E1F32

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

Preview Lab → · Contrast checker → · Palette generator →

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