#7A1E27#7A1E27

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

Color values

HEX#7A1E27
RGBrgb(122, 30, 39)
HSLhsl(354, 61%, 30%)
HSVhsv(354, 75%, 48%)
CMYKcmyk(0%, 75.4%, 68%, 52.2%)
CIE-LABlab(27.34, 39.90, 18.18)
CIE-LCHlch(27.34, 43.84, 24.50°)
OKLaboklab(38.91% 0.1181 0.0432)
OKLCHoklch(38.91% 0.126 20.1)
XYZxyz(8.8575, 5.2139, 2.4590)
Luminance0.0521 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E27 #1E7A71
analogous
#7A1E55 #7A1E27 #7A431E
triadic
#7A1E27 #277A1E #1E277A
tetradic
#7A1E27 #557A1E #1E7A71 #431E7A
square
#7A1E27 #557A1E #1E7A71 #431E7A
split-complementary
#7A1E27 #1E7A43 #1E557A
monochromatic
#190608 #491217 #7A1E27 #AB2A37 #D04250

Accessibility & contrast

On white

10.28
#7A1E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1E27
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1E27#FFFFFF#000000##FFFFFF
##7A1E271.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383427
Deuteranopia (green-blind)
#4F4824
Tritanopia (blue-blind)
#860022
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7a1e27;
/* rgb */ color: rgb(122, 30, 39);
/* oklch */ color: oklch(38.9% 0.126 20.1);
Tailwind
colors: {
  custom: {
    50: '#a76261',
    500: '#7a1e27',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e27;
$custom-light: #a76261;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e27",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 39
  },
  "hsl": {
    "h": 354.13,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38908,
    "c": 0.1257,
    "h": 20.1
  },
  "luminance": 0.05213
}

Semantic roles & 50–950 ramp

primary
#7A1E27
secondary
#46AEA3
accent
#E4D444
background
#FBF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110505
muted
#807A79

Preview Lab

Preview with #7A1E27

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

Preview Lab → · Contrast checker → · Palette generator →

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