#7A1E28#7A1E28

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

Color values

HEX#7A1E28
RGBrgb(122, 30, 40)
HSLhsl(353, 61%, 30%)
HSVhsv(353, 75%, 48%)
CMYKcmyk(0%, 75.4%, 67.2%, 52.2%)
CIE-LABlab(27.35, 39.96, 17.55)
CIE-LCHlch(27.35, 43.64, 23.71°)
OKLaboklab(38.93% 0.1185 0.0419)
OKLCHoklch(38.93% 0.126 19.5)
XYZxyz(8.8742, 5.2206, 2.5475)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E28 #1E7A70
analogous
#7A1E56 #7A1E28 #7A421E
triadic
#7A1E28 #287A1E #1E287A
tetradic
#7A1E28 #567A1E #1E7A70 #421E7A
square
#7A1E28 #567A1E #1E7A70 #421E7A
split-complementary
#7A1E28 #1E7A42 #1E567A
monochromatic
#190608 #491218 #7A1E28 #AB2A38 #D04251

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A1E28#FFFFFF#000000##FFFFFF
##7A1E281.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)
#383428
Deuteranopia (green-blind)
#4F4825
Tritanopia (blue-blind)
#860022
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7a1e28;
/* rgb */ color: rgb(122, 30, 40);
/* oklch */ color: oklch(38.9% 0.126 19.5);
Tailwind
colors: {
  custom: {
    50: '#a76261',
    500: '#7a1e28',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e28;
$custom-light: #a76261;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e28",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 40
  },
  "hsl": {
    "h": 353.478,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38928,
    "c": 0.12564,
    "h": 19.5
  },
  "luminance": 0.05219
}

Semantic roles & 50–950 ramp

primary
#7A1E28
secondary
#46AEA2
accent
#E4D244
background
#FAF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110505
muted
#807A79

Preview Lab

Preview with #7A1E28

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

Preview Lab → · Contrast checker → · Palette generator →

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