#7E1A33#7E1A33

#7E1A33 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.5% C 0.134 H 11.8°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#7E1A33
RGBrgb(126, 26, 51)
HSLhsl(345, 66%, 30%)
HSVhsv(345, 79%, 49%)
CMYKcmyk(0%, 79.4%, 59.5%, 50.6%)
CIE-LABlab(27.89, 43.47, 11.04)
CIE-LCHlch(27.89, 44.85, 14.26°)
OKLaboklab(39.55% 0.1314 0.0276)
OKLCHoklch(39.55% 0.134 11.8)
XYZxyz(9.5721, 5.4148, 3.6725)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A33 #1A7E65
analogous
#7E1A65 #7E1A33 #7E331A
triadic
#7E1A33 #337E1A #1A337E
tetradic
#7E1A33 #657E1A #1A7E65 #331A7E
square
#7E1A33 #657E1A #1A7E65 #331A7E
split-complementary
#7E1A33 #1A7E33 #1A657E
monochromatic
#19050A #4B101E #7E1A33 #B12448 #D73C62

Accessibility & contrast

On white

10.08
#7E1A33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7E1A33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1A33
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A33#FFFFFF#000000##FFFFFF
##7E1A331.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353533
Deuteranopia (green-blind)
#4F4930
Tritanopia (blue-blind)
#8A0025
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1a33;
/* rgb */ color: rgb(126, 26, 51);
/* oklch */ color: oklch(39.5% 0.134 11.8);
Tailwind
colors: {
  custom: {
    50: '#a9616a',
    500: '#7e1a33',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a33;
$custom-light: #a9616a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a33",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 51
  },
  "hsl": {
    "h": 345,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39546,
    "c": 0.13423,
    "h": 11.8
  },
  "luminance": 0.05413
}

Semantic roles & 50–950 ramp

primary
#7E1A33
secondary
#42B296
accent
#E9BE3F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #7E1A33

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

Preview Lab → · Contrast checker → · Palette generator →

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