#7A1C2D#7A1C2D

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

Color values

HEX#7A1C2D
RGBrgb(122, 28, 45)
HSLhsl(349, 63%, 29%)
HSVhsv(349, 77%, 48%)
CMYKcmyk(0%, 77%, 63.1%, 52.2%)
CIE-LABlab(27.18, 41.05, 13.99)
CIE-LCHlch(27.18, 43.37, 18.82°)
OKLaboklab(38.83% 0.123 0.0342)
OKLCHoklch(38.83% 0.128 15.5)
XYZxyz(8.9159, 5.1588, 3.0084)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1C2D #1C7A69
analogous
#7A1C5C #7A1C2D #7A3A1C
triadic
#7A1C2D #2D7A1C #1C2D7A
tetradic
#7A1C2D #5C7A1C #1C7A69 #3A1C7A
square
#7A1C2D #5C7A1C #1C7A69 #3A1C7A
split-complementary
#7A1C2D #1C7A3A #1C5C7A
monochromatic
#190609 #48111B #7A1C2D #AC273F #D33E59

Accessibility & contrast

On white

10.34
#7A1C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1C2D
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1C2D#FFFFFF#000000##FFFFFF
##7A1C2D1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36342D
Deuteranopia (green-blind)
#4E472A
Tritanopia (blue-blind)
#860023
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1c2d;
/* rgb */ color: rgb(122, 28, 45);
/* oklch */ color: oklch(38.8% 0.128 15.5);
Tailwind
colors: {
  custom: {
    50: '#a66165',
    500: '#7a1c2d',
    950: '#000000',
  },
}
SCSS
$custom: #7a1c2d;
$custom-light: #a66165;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1c2d",
  "rgb": {
    "r": 122,
    "g": 28,
    "b": 45
  },
  "hsl": {
    "h": 349.149,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38833,
    "c": 0.12768,
    "h": 15.5
  },
  "luminance": 0.05158
}

Semantic roles & 50–950 ramp

primary
#7A1C2D
secondary
#44AE9B
accent
#E6C842
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#110505
muted
#807A7A

Preview Lab

Preview with #7A1C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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