#7E1B2F#7E1B2F

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

Color values

HEX#7E1B2F
RGBrgb(126, 27, 47)
HSLhsl(348, 65%, 30%)
HSVhsv(348, 79%, 49%)
CMYKcmyk(0%, 78.6%, 62.7%, 50.6%)
CIE-LABlab(27.92, 42.83, 13.77)
CIE-LCHlch(27.92, 44.99, 17.82°)
OKLaboklab(39.54% 0.1286 0.0337)
OKLCHoklch(39.54% 0.133 14.7)
XYZxyz(9.5102, 5.4261, 3.2354)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B2F #1B7E6A
analogous
#7E1B60 #7E1B2F #7E391B
triadic
#7E1B2F #2F7E1B #1B2F7E
tetradic
#7E1B2F #607E1B #1B7E6A #391B7E
square
#7E1B2F #607E1B #1B7E6A #391B7E
split-complementary
#7E1B2F #1B7E39 #1B607E
monochromatic
#190509 #4C101C #7E1B2F #B02642 #D63E5C

Accessibility & contrast

On white

10.07
#7E1B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1B2F
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B2F#FFFFFF#000000##FFFFFF
##7E1B2F1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36352F
Deuteranopia (green-blind)
#50492C
Tritanopia (blue-blind)
#8A0023
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1b2f;
/* rgb */ color: rgb(126, 27, 47);
/* oklch */ color: oklch(39.5% 0.133 14.7);
Tailwind
colors: {
  custom: {
    50: '#aa6167',
    500: '#7e1b2f',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b2f;
$custom-light: #aa6167;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b2f",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 47
  },
  "hsl": {
    "h": 347.879,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.39539,
    "c": 0.13293,
    "h": 14.7
  },
  "luminance": 0.05425
}

Semantic roles & 50–950 ramp

primary
#7E1B2F
secondary
#43B29B
accent
#E8C640
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #7E1B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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