#7E152A#7E152A

#7E152A is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.9% C 0.138 H 16.2°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#7E152A
RGBrgb(126, 21, 42)
HSLhsl(348, 71%, 29%)
HSVhsv(348, 83%, 49%)
CMYKcmyk(0%, 83.3%, 66.7%, 50.6%)
CIE-LABlab(27.13, 44.42, 16.09)
CIE-LCHlch(27.13, 47.24, 19.92°)
OKLaboklab(38.92% 0.1326 0.0386)
OKLCHoklch(38.92% 0.138 16.2)
XYZxyz(9.2913, 5.1405, 2.6930)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E152A #157E69
analogous
#7E155F #7E152A #7E3515
triadic
#7E152A #2A7E15 #152A7E
tetradic
#7E152A #5F7E15 #157E69 #35157E
square
#7E152A #5F7E15 #157E69 #35157E
split-complementary
#7E152A #157E35 #155F7E
monochromatic
#1A0409 #4A0C19 #7E152A #B21E3B #DD3153

Accessibility & contrast

On white

10.36
#7E152A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7E152A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E152A
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E152A#FFFFFF#000000##FFFFFF
##7E152A1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34322A
Deuteranopia (green-blind)
#4F4827
Tritanopia (blue-blind)
#8B001E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e152a;
/* rgb */ color: rgb(126, 21, 42);
/* oklch */ color: oklch(38.9% 0.138 16.2);
Tailwind
colors: {
  custom: {
    50: '#aa5f63',
    500: '#7e152a',
    950: '#000000',
  },
}
SCSS
$custom: #7e152a;
$custom-light: #aa5f63;
$custom-dark: #000000;
JSON
{
  "hex": "#7e152a",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 42
  },
  "hsl": {
    "h": 348,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38925,
    "c": 0.13815,
    "h": 16.2
  },
  "luminance": 0.05139
}

Semantic roles & 50–950 ramp

primary
#7E152A
secondary
#3CB39B
accent
#EECA3A
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7E152A

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

Preview Lab → · Contrast checker → · Palette generator →

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