#7A313C#7A313C

#7A313C is a dark, moderate red. Relative luminance 0.067; OKLCH L 41.8% C 0.102 H 13.4°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#7A313C
RGBrgb(122, 49, 60)
HSLhsl(351, 43%, 34%)
HSVhsv(351, 60%, 48%)
CMYKcmyk(0%, 59.8%, 50.8%, 52.2%)
CIE-LABlab(31.02, 32.89, 9.28)
CIE-LCHlch(31.02, 34.17, 15.76°)
OKLaboklab(41.82% 0.0994 0.0237)
OKLCHoklch(41.82% 0.102 13.4)
XYZxyz(9.9407, 6.6616, 5.0364)
Luminance0.0666 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A313C #317A6F
analogous
#7A3160 #7A313C #7A4A31
triadic
#7A313C #3C7A31 #313C7A
tetradic
#7A313C #607A31 #317A6F #4A317A
square
#7A313C #607A31 #317A6F #4A317A
split-complementary
#7A313C #317A4A #31607A
monochromatic
#230E11 #4E1F27 #7A313C #A64351 #C16472

Accessibility & contrast

On white

9.01
#7A313C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7A313C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A313C
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A313C#FFFFFF#000000##FFFFFF
##7A313C1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41403C
Deuteranopia (green-blind)
#544F3A
Tritanopia (blue-blind)
#852735
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a313c;
/* rgb */ color: rgb(122, 49, 60);
/* oklch */ color: oklch(41.8% 0.102 13.4);
Tailwind
colors: {
  custom: {
    50: '#a46c71',
    500: '#7a313c',
    950: '#000000',
  },
}
SCSS
$custom: #7a313c;
$custom-light: #a46c71;
$custom-dark: #000000;
JSON
{
  "hex": "#7a313c",
  "rgb": {
    "r": 122,
    "g": 49,
    "b": 60
  },
  "hsl": {
    "h": 350.959,
    "s": 42.69,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41815,
    "c": 0.10214,
    "h": 13.4
  },
  "luminance": 0.0666
}

Semantic roles & 50–950 ramp

primary
#7A313C
secondary
#5EA89D
accent
#D2C055
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100707
muted
#7F7A7A

Preview Lab

Preview with #7A313C

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

Preview Lab → · Contrast checker → · Palette generator →

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