#7A313B#7A313B

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

Color values

HEX#7A313B
RGBrgb(122, 49, 59)
HSLhsl(352, 43%, 34%)
HSVhsv(352, 60%, 48%)
CMYKcmyk(0%, 59.8%, 51.6%, 52.2%)
CIE-LABlab(31.00, 32.79, 9.90)
CIE-LCHlch(31.00, 34.25, 16.80°)
OKLaboklab(41.79% 0.0989 0.0252)
OKLCHoklch(41.79% 0.102 14.3)
XYZxyz(9.9145, 6.6511, 4.8985)
Luminance0.0665 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A313B #317A70
analogous
#7A315F #7A313B #7A4B31
triadic
#7A313B #3B7A31 #313B7A
tetradic
#7A313B #5F7A31 #317A70 #4B317A
square
#7A313B #5F7A31 #317A70 #4B317A
split-complementary
#7A313B #317A4B #315F7A
monochromatic
#230E11 #4E1F26 #7A313B #A64350 #C16471

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A313B#FFFFFF#000000##FFFFFF
##7A313B1.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)
#41403B
Deuteranopia (green-blind)
#544F39
Tritanopia (blue-blind)
#852635
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a313b;
/* rgb */ color: rgb(122, 49, 59);
/* oklch */ color: oklch(41.8% 0.102 14.3);
Tailwind
colors: {
  custom: {
    50: '#a46c70',
    500: '#7a313b',
    950: '#000000',
  },
}
SCSS
$custom: #7a313b;
$custom-light: #a46c70;
$custom-dark: #000000;
JSON
{
  "hex": "#7a313b",
  "rgb": {
    "r": 122,
    "g": 49,
    "b": 59
  },
  "hsl": {
    "h": 351.781,
    "s": 42.69,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41789,
    "c": 0.10208,
    "h": 14.3
  },
  "luminance": 0.0665
}

Semantic roles & 50–950 ramp

primary
#7A313B
secondary
#5EA89E
accent
#D2C155
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100707
muted
#7F7A7A

Preview Lab

Preview with #7A313B

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

Preview Lab → · Contrast checker → · Palette generator →

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