#7E1527#7E1527

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

Color values

HEX#7E1527
RGBrgb(126, 21, 39)
HSLhsl(350, 71%, 29%)
HSVhsv(350, 83%, 49%)
CMYKcmyk(0%, 83.3%, 69%, 50.6%)
CIE-LABlab(27.07, 44.24, 18.03)
CIE-LCHlch(27.07, 47.77, 22.17°)
OKLaboklab(38.86% 0.1314 0.0427)
OKLCHoklch(38.86% 0.138 18)
XYZxyz(9.2396, 5.1199, 2.4208)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1527 #157E6C
analogous
#7E155C #7E1527 #7E3815
triadic
#7E1527 #277E15 #15277E
tetradic
#7E1527 #5C7E15 #157E6C #38157E
square
#7E1527 #5C7E15 #157E6C #38157E
split-complementary
#7E1527 #157E38 #155C7E
monochromatic
#1A0408 #4A0C17 #7E1527 #B21E37 #DD314E

Accessibility & contrast

On white

10.38
#7E1527 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7E1527 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1527
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1527#FFFFFF#000000##FFFFFF
##7E15271.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353227
Deuteranopia (green-blind)
#4F4824
Tritanopia (blue-blind)
#8B001D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1527;
/* rgb */ color: rgb(126, 21, 39);
/* oklch */ color: oklch(38.9% 0.138 18.0);
Tailwind
colors: {
  custom: {
    50: '#aa5f60',
    500: '#7e1527',
    950: '#000000',
  },
}
SCSS
$custom: #7e1527;
$custom-light: #aa5f60;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1527",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 39
  },
  "hsl": {
    "h": 349.714,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38863,
    "c": 0.13814,
    "h": 18
  },
  "luminance": 0.05118
}

Semantic roles & 50–950 ramp

primary
#7E1527
secondary
#3CB39F
accent
#EECF3A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7E1527

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

Preview Lab → · Contrast checker → · Palette generator →

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