#7A1F2C#7A1F2C

#7A1F2C is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.1% C 0.124 H 17.2°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#7A1F2C
RGBrgb(122, 31, 44)
HSLhsl(351, 59%, 30%)
HSVhsv(351, 75%, 48%)
CMYKcmyk(0%, 74.6%, 63.9%, 52.2%)
CIE-LABlab(27.57, 39.83, 15.17)
CIE-LCHlch(27.57, 42.63, 20.85°)
OKLaboklab(39.12% 0.1189 0.0368)
OKLCHoklch(39.12% 0.125 17.2)
XYZxyz(8.9716, 5.3007, 2.9331)
Luminance0.0530 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1F2C #1F7A6D
analogous
#7A1F59 #7A1F2C #7A401F
triadic
#7A1F2C #2C7A1F #1F2C7A
tetradic
#7A1F2C #597A1F #1F7A6D #401F7A
square
#7A1F2C #597A1F #1F7A6D #401F7A
split-complementary
#7A1F2C #1F7A40 #1F597A
monochromatic
#180609 #49131A #7A1F2C #AB2B3E #CF4458

Accessibility & contrast

On white

10.20
#7A1F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7A1F2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1F2C
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1F2C#FFFFFF#000000##FFFFFF
##7A1F2C1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38352C
Deuteranopia (green-blind)
#4F482A
Tritanopia (blue-blind)
#860424
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7a1f2c;
/* rgb */ color: rgb(122, 31, 44);
/* oklch */ color: oklch(39.1% 0.124 17.2);
Tailwind
colors: {
  custom: {
    50: '#a66264',
    500: '#7a1f2c',
    950: '#000000',
  },
}
SCSS
$custom: #7a1f2c;
$custom-light: #a66264;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1f2c",
  "rgb": {
    "r": 122,
    "g": 31,
    "b": 44
  },
  "hsl": {
    "h": 351.429,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.39118,
    "c": 0.1245,
    "h": 17.2
  },
  "luminance": 0.05299
}

Semantic roles & 50–950 ramp

primary
#7A1F2C
secondary
#47AD9F
accent
#E3CC45
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100505
muted
#7F7A7A

Preview Lab

Preview with #7A1F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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