#7E1523#7E1523

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

Color values

HEX#7E1523
RGBrgb(126, 21, 35)
HSLhsl(352, 71%, 29%)
HSVhsv(352, 83%, 49%)
CMYKcmyk(0%, 83.3%, 72.2%, 50.6%)
CIE-LABlab(27.00, 44.02, 20.59)
CIE-LCHlch(27.00, 48.60, 25.07°)
OKLaboklab(38.79% 0.1297 0.0478)
OKLCHoklch(38.79% 0.138 20.2)
XYZxyz(9.1768, 5.0947, 2.0900)
Luminance0.0509 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1523 #157E70
analogous
#7E1558 #7E1523 #7E3C15
triadic
#7E1523 #237E15 #15237E
tetradic
#7E1523 #587E15 #157E70 #3C157E
square
#7E1523 #587E15 #157E70 #3C157E
split-complementary
#7E1523 #157E3C #15587E
monochromatic
#1A0407 #4A0C14 #7E1523 #B21E32 #DD3148

Accessibility & contrast

On white

10.40
#7E1523 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1523
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1523#FFFFFF#000000##FFFFFF
##7E15231.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353223
Deuteranopia (green-blind)
#504820
Tritanopia (blue-blind)
#8B001B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1523;
/* rgb */ color: rgb(126, 21, 35);
/* oklch */ color: oklch(38.8% 0.138 20.2);
Tailwind
colors: {
  custom: {
    50: '#ab5e5d',
    500: '#7e1523',
    950: '#000000',
  },
}
SCSS
$custom: #7e1523;
$custom-light: #ab5e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1523",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 35
  },
  "hsl": {
    "h": 352,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38788,
    "c": 0.13826,
    "h": 20.2
  },
  "luminance": 0.05093
}

Semantic roles & 50–950 ramp

primary
#7E1523
secondary
#3CB3A3
accent
#EED63A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1523

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

Preview Lab → · Contrast checker → · Palette generator →

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