#7E2223#7E2223

#7E2223 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.0% C 0.126 H 24.4°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#7E2223
RGBrgb(126, 34, 35)
HSLhsl(359, 58%, 31%)
HSVhsv(359, 73%, 49%)
CMYKcmyk(0%, 73%, 72.2%, 50.6%)
CIE-LABlab(28.65, 39.43, 22.58)
CIE-LCHlch(28.65, 45.44, 29.80°)
OKLaboklab(40.01% 0.1151 0.0522)
OKLCHoklch(40.01% 0.126 24.4)
XYZxyz(9.4806, 5.7024, 2.1913)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2223 #227E7D
analogous
#7E2251 #7E2223 #7E4F22
triadic
#7E2223 #237E22 #22237E
tetradic
#7E2223 #517E22 #227E7D #4F227E
square
#7E2223 #517E22 #227E7D #4F227E
split-complementary
#7E2223 #227E4F #22517E
monochromatic
#1E0808 #4E1516 #7E2223 #AE2F30 #CF4C4D

Accessibility & contrast

On white

9.81
#7E2223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7E2223 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2223
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2223#FFFFFF#000000##FFFFFF
##7E22231.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3722
Deuteranopia (green-blind)
#534B20
Tritanopia (blue-blind)
#8B0323
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e2223;
/* rgb */ color: rgb(126, 34, 35);
/* oklch */ color: oklch(40.0% 0.126 24.4);
Tailwind
colors: {
  custom: {
    50: '#aa645e',
    500: '#7e2223',
    950: '#000000',
  },
}
SCSS
$custom: #7e2223;
$custom-light: #aa645e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2223",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 35
  },
  "hsl": {
    "h": 359.348,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40012,
    "c": 0.12639,
    "h": 24.4
  },
  "luminance": 0.05701
}

Semantic roles & 50–950 ramp

primary
#7E2223
secondary
#4BB1AF
accent
#E1DF47
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E2223

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

Preview Lab → · Contrast checker → · Palette generator →

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