#7E1B30#7E1B30

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

Color values

HEX#7E1B30
RGBrgb(126, 27, 48)
HSLhsl(347, 65%, 30%)
HSVhsv(347, 79%, 49%)
CMYKcmyk(0%, 78.6%, 61.9%, 50.6%)
CIE-LABlab(27.94, 42.90, 13.13)
CIE-LCHlch(27.94, 44.87, 17.02°)
OKLaboklab(39.56% 0.129 0.0323)
OKLCHoklch(39.56% 0.133 14.1)
XYZxyz(9.5306, 5.4343, 3.3428)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B30 #1B7E69
analogous
#7E1B61 #7E1B30 #7E381B
triadic
#7E1B30 #307E1B #1B307E
tetradic
#7E1B30 #617E1B #1B7E69 #381B7E
square
#7E1B30 #617E1B #1B7E69 #381B7E
split-complementary
#7E1B30 #1B7E38 #1B617E
monochromatic
#19050A #4C101D #7E1B30 #B02643 #D63E5E

Accessibility & contrast

On white

10.06
#7E1B30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1B30
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B30#FFFFFF#000000##FFFFFF
##7E1B301.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363530
Deuteranopia (green-blind)
#50492D
Tritanopia (blue-blind)
#8A0024
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1b30;
/* rgb */ color: rgb(126, 27, 48);
/* oklch */ color: oklch(39.6% 0.133 14.1);
Tailwind
colors: {
  custom: {
    50: '#a96168',
    500: '#7e1b30',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b30;
$custom-light: #a96168;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b30",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 48
  },
  "hsl": {
    "h": 347.273,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.39562,
    "c": 0.13299,
    "h": 14.1
  },
  "luminance": 0.05433
}

Semantic roles & 50–950 ramp

primary
#7E1B30
secondary
#43B29A
accent
#E8C440
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #7E1B30

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

Preview Lab → · Contrast checker → · Palette generator →

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