#7A1D27#7A1D27

#7A1D27 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.8% C 0.127 H 19.7°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#7A1D27
RGBrgb(122, 29, 39)
HSLhsl(354, 62%, 30%)
HSVhsv(354, 76%, 48%)
CMYKcmyk(0%, 76.2%, 68%, 52.2%)
CIE-LABlab(27.20, 40.28, 18.01)
CIE-LCHlch(27.20, 44.12, 24.09°)
OKLaboklab(38.81% 0.1193 0.0428)
OKLCHoklch(38.81% 0.127 19.7)
XYZxyz(8.8326, 5.1641, 2.4507)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1D27 #1D7A70
analogous
#7A1D56 #7A1D27 #7A411D
triadic
#7A1D27 #277A1D #1D277A
tetradic
#7A1D27 #567A1D #1D7A70 #411D7A
square
#7A1D27 #567A1D #1D7A70 #411D7A
split-complementary
#7A1D27 #1D7A41 #1D567A
monochromatic
#190608 #491117 #7A1D27 #AB2937 #D24050

Accessibility & contrast

On white

10.33
#7A1D27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7A1D27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1D27
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1D27#FFFFFF#000000##FFFFFF
##7A1D271.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373427
Deuteranopia (green-blind)
#4F4724
Tritanopia (blue-blind)
#860021
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1d27;
/* rgb */ color: rgb(122, 29, 39);
/* oklch */ color: oklch(38.8% 0.127 19.7);
Tailwind
colors: {
  custom: {
    50: '#a76161',
    500: '#7a1d27',
    950: '#000000',
  },
}
SCSS
$custom: #7a1d27;
$custom-light: #a76161;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1d27",
  "rgb": {
    "r": 122,
    "g": 29,
    "b": 39
  },
  "hsl": {
    "h": 353.548,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38805,
    "c": 0.12672,
    "h": 19.7
  },
  "luminance": 0.05163
}

Semantic roles & 50–950 ramp

primary
#7A1D27
secondary
#45AEA2
accent
#E5D343
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110505
muted
#807A79

Preview Lab

Preview with #7A1D27

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

Preview Lab → · Contrast checker → · Palette generator →

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