#7E1830#7E1830

#7E1830 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.3% C 0.136 H 13.3°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#7E1830
RGBrgb(126, 24, 48)
HSLhsl(346, 68%, 29%)
HSVhsv(346, 81%, 49%)
CMYKcmyk(0%, 81%, 61.9%, 50.6%)
CIE-LABlab(27.58, 43.90, 12.65)
CIE-LCHlch(27.58, 45.69, 16.08°)
OKLaboklab(39.3% 0.1322 0.0312)
OKLCHoklch(39.3% 0.136 13.3)
XYZxyz(9.4653, 5.3037, 3.3210)
Luminance0.0530 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1830 #187E66
analogous
#7E1863 #7E1830 #7E3318
triadic
#7E1830 #307E18 #18307E
tetradic
#7E1830 #637E18 #187E66 #33187E
square
#7E1830 #637E18 #187E66 #33187E
split-complementary
#7E1830 #187E33 #18637E
monochromatic
#1A050A #4B0E1C #7E1830 #B12244 #D9375D

Accessibility & contrast

On white

10.19
#7E1830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7E1830 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1830
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1830#FFFFFF#000000##FFFFFF
##7E18301.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353430
Deuteranopia (green-blind)
#4F492D
Tritanopia (blue-blind)
#8A0022
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1830;
/* rgb */ color: rgb(126, 24, 48);
/* oklch */ color: oklch(39.3% 0.136 13.3);
Tailwind
colors: {
  custom: {
    50: '#aa6068',
    500: '#7e1830',
    950: '#000000',
  },
}
SCSS
$custom: #7e1830;
$custom-light: #aa6068;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1830",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 48
  },
  "hsl": {
    "h": 345.882,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.393,
    "c": 0.13585,
    "h": 13.3
  },
  "luminance": 0.05302
}

Semantic roles & 50–950 ramp

primary
#7E1830
secondary
#3FB297
accent
#EBC23D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #7E1830

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

Preview Lab → · Contrast checker → · Palette generator →

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