#7E152E#7E152E

#7E152E is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.138 H 13.8°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#7E152E
RGBrgb(126, 21, 46)
HSLhsl(346, 71%, 29%)
HSVhsv(346, 83%, 49%)
CMYKcmyk(0%, 83.3%, 63.5%, 50.6%)
CIE-LABlab(27.22, 44.68, 13.51)
CIE-LCHlch(27.22, 46.67, 16.83°)
OKLaboklab(39.01% 0.1343 0.033)
OKLCHoklch(39.01% 0.138 13.8)
XYZxyz(9.3665, 5.1706, 3.0891)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E152E #157E65
analogous
#7E1563 #7E152E #7E3115
triadic
#7E152E #2E7E15 #152E7E
tetradic
#7E152E #637E15 #157E65 #31157E
square
#7E152E #637E15 #157E65 #31157E
split-complementary
#7E152E #157E31 #15637E
monochromatic
#1A040A #4A0C1B #7E152E #B21E41 #DD315A

Accessibility & contrast

On white

10.33
#7E152E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E152E
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E152E#FFFFFF#000000##FFFFFF
##7E152E1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34322E
Deuteranopia (green-blind)
#4E482B
Tritanopia (blue-blind)
#8B0020
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e152e;
/* rgb */ color: rgb(126, 21, 46);
/* oklch */ color: oklch(39.0% 0.138 13.8);
Tailwind
colors: {
  custom: {
    50: '#aa5f66',
    500: '#7e152e',
    950: '#000000',
  },
}
SCSS
$custom: #7e152e;
$custom-light: #aa5f66;
$custom-dark: #000000;
JSON
{
  "hex": "#7e152e",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 46
  },
  "hsl": {
    "h": 345.714,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39014,
    "c": 0.13833,
    "h": 13.8
  },
  "luminance": 0.05169
}

Semantic roles & 50–950 ramp

primary
#7E152E
secondary
#3CB397
accent
#EEC33A
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7E152E

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

Preview Lab → · Contrast checker → · Palette generator →

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