#7E1630#7E1630

#7E1630 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.1% C 0.138 H 12.8°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#7E1630
RGBrgb(126, 22, 48)
HSLhsl(345, 70%, 29%)
HSVhsv(345, 83%, 49%)
CMYKcmyk(0%, 82.5%, 61.9%, 50.6%)
CIE-LABlab(27.36, 44.52, 12.36)
CIE-LCHlch(27.36, 46.20, 15.52°)
OKLaboklab(39.14% 0.1342 0.0305)
OKLCHoklch(39.14% 0.138 12.8)
XYZxyz(9.4256, 5.2242, 3.3078)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1630 #167E64
analogous
#7E1664 #7E1630 #7E3016
triadic
#7E1630 #307E16 #16307E
tetradic
#7E1630 #647E16 #167E64 #30167E
square
#7E1630 #647E16 #167E64 #30167E
split-complementary
#7E1630 #167E30 #16647E
monochromatic
#1A050A #4A0D1C #7E1630 #B21F44 #DB335D

Accessibility & contrast

On white

10.27
#7E1630 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7E1630 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1630
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1630#FFFFFF#000000##FFFFFF
##7E16301.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343330
Deuteranopia (green-blind)
#4E482D
Tritanopia (blue-blind)
#8A0021
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1630;
/* rgb */ color: rgb(126, 22, 48);
/* oklch */ color: oklch(39.1% 0.138 12.8);
Tailwind
colors: {
  custom: {
    50: '#aa5f68',
    500: '#7e1630',
    950: '#000000',
  },
}
SCSS
$custom: #7e1630;
$custom-light: #aa5f68;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1630",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 48
  },
  "hsl": {
    "h": 345,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39138,
    "c": 0.13764,
    "h": 12.8
  },
  "luminance": 0.05223
}

Semantic roles & 50–950 ramp

primary
#7E1630
secondary
#3DB395
accent
#EDC03B
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7E1630

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

Preview Lab → · Contrast checker → · Palette generator →

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