#7E1F35#7E1F35

#7E1F35 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.1% C 0.129 H 11.9°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#7E1F35
RGBrgb(126, 31, 53)
HSLhsl(346, 61%, 31%)
HSVhsv(346, 75%, 49%)
CMYKcmyk(0%, 75.4%, 57.9%, 50.6%)
CIE-LABlab(28.57, 41.83, 10.65)
CIE-LCHlch(28.57, 43.16, 14.28°)
OKLaboklab(40.07% 0.1264 0.0267)
OKLCHoklch(40.07% 0.129 11.9)
XYZxyz(9.7377, 5.6740, 3.9499)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1F35 #1F7E68
analogous
#7E1F64 #7E1F35 #7E381F
triadic
#7E1F35 #357E1F #1F357E
tetradic
#7E1F35 #647E1F #1F7E68 #381F7E
square
#7E1F35 #647E1F #1F7E68 #381F7E
split-complementary
#7E1F35 #1F7E38 #1F647E
monochromatic
#1C070C #4D1320 #7E1F35 #AF2B4A #D14666

Accessibility & contrast

On white

9.84
#7E1F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1F35
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1F35#FFFFFF#000000##FFFFFF
##7E1F351.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383735
Deuteranopia (green-blind)
#504A33
Tritanopia (blue-blind)
#8A0528
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1f35;
/* rgb */ color: rgb(126, 31, 53);
/* oklch */ color: oklch(40.1% 0.129 11.9);
Tailwind
colors: {
  custom: {
    50: '#a9636c',
    500: '#7e1f35',
    950: '#000000',
  },
}
SCSS
$custom: #7e1f35;
$custom-light: #a9636c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1f35",
  "rgb": {
    "r": 126,
    "g": 31,
    "b": 53
  },
  "hsl": {
    "h": 346.105,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40071,
    "c": 0.12923,
    "h": 11.9
  },
  "luminance": 0.05673
}

Semantic roles & 50–950 ramp

primary
#7E1F35
secondary
#48B199
accent
#E4BF44
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E1F35

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

Preview Lab → · Contrast checker → · Palette generator →

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