#7E1223#7E1223

#7E1223 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.6% C 0.141 H 19.5°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#7E1223
RGBrgb(126, 18, 35)
HSLhsl(351, 75%, 28%)
HSVhsv(351, 86%, 49%)
CMYKcmyk(0%, 85.7%, 72.2%, 50.6%)
CIE-LABlab(26.71, 44.86, 20.23)
CIE-LCHlch(26.71, 49.21, 24.28°)
OKLaboklab(38.57% 0.1324 0.047)
OKLCHoklch(38.57% 0.141 19.5)
XYZxyz(9.1249, 4.9910, 2.0727)
Luminance0.0499 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1223 #127E6D
analogous
#7E1259 #7E1223 #7E3712
triadic
#7E1223 #237E12 #12237E
tetradic
#7E1223 #597E12 #127E6D #37127E
square
#7E1223 #597E12 #127E6D #37127E
split-complementary
#7E1223 #127E37 #12597E
monochromatic
#1B0407 #480A14 #7E1223 #B41A32 #E12A47

Accessibility & contrast

On white

10.51
#7E1223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7E1223 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1223
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1223#FFFFFF#000000##FFFFFF
##7E12231.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343123
Deuteranopia (green-blind)
#4F4720
Tritanopia (blue-blind)
#8B001A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1223;
/* rgb */ color: rgb(126, 18, 35);
/* oklch */ color: oklch(38.6% 0.141 19.5);
Tailwind
colors: {
  custom: {
    50: '#ab5d5d',
    500: '#7e1223',
    950: '#000000',
  },
}
SCSS
$custom: #7e1223;
$custom-light: #ab5d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1223",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 35
  },
  "hsl": {
    "h": 350.556,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38571,
    "c": 0.1405,
    "h": 19.5
  },
  "luminance": 0.0499
}

Semantic roles & 50–950 ramp

primary
#7E1223
secondary
#38B4A0
accent
#F2D436
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1223

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

Preview Lab → · Contrast checker → · Palette generator →

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