#7A1C2F#7A1C2F

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

Color values

HEX#7A1C2F
RGBrgb(122, 28, 47)
HSLhsl(348, 63%, 29%)
HSVhsv(348, 77%, 48%)
CMYKcmyk(0%, 77%, 61.5%, 52.2%)
CIE-LABlab(27.23, 41.20, 12.71)
CIE-LCHlch(27.23, 43.11, 17.14°)
OKLaboklab(38.88% 0.1239 0.0313)
OKLCHoklch(38.88% 0.128 14.2)
XYZxyz(8.9553, 5.1746, 3.2160)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1C2F #1C7A67
analogous
#7A1C5E #7A1C2F #7A381C
triadic
#7A1C2F #2F7A1C #1C2F7A
tetradic
#7A1C2F #5E7A1C #1C7A67 #381C7A
square
#7A1C2F #5E7A1C #1C7A67 #381C7A
split-complementary
#7A1C2F #1C7A38 #1C5E7A
monochromatic
#19060A #48111C #7A1C2F #AC2742 #D33E5C

Accessibility & contrast

On white

10.32
#7A1C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1C2F
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1C2F#FFFFFF#000000##FFFFFF
##7A1C2F1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35342F
Deuteranopia (green-blind)
#4D472D
Tritanopia (blue-blind)
#860024
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1c2f;
/* rgb */ color: rgb(122, 28, 47);
/* oklch */ color: oklch(38.9% 0.128 14.2);
Tailwind
colors: {
  custom: {
    50: '#a66167',
    500: '#7a1c2f',
    950: '#000000',
  },
}
SCSS
$custom: #7a1c2f;
$custom-light: #a66167;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1c2f",
  "rgb": {
    "r": 122,
    "g": 28,
    "b": 47
  },
  "hsl": {
    "h": 347.872,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3888,
    "c": 0.12778,
    "h": 14.2
  },
  "luminance": 0.05173
}

Semantic roles & 50–950 ramp

primary
#7A1C2F
secondary
#44AE98
accent
#E6C542
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100506
muted
#7F7A7A

Preview Lab

Preview with #7A1C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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