#7B313B#7B313B

#7B313B is a dark, moderate red. Relative luminance 0.067; OKLCH L 42.0% C 0.103 H 14.5°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#7B313B
RGBrgb(123, 49, 59)
HSLhsl(352, 43%, 34%)
HSVhsv(352, 60%, 48%)
CMYKcmyk(0%, 60.2%, 52%, 51.8%)
CIE-LABlab(31.17, 33.16, 10.17)
CIE-LCHlch(31.17, 34.69, 17.04°)
OKLaboklab(41.95% 0.1 0.0258)
OKLCHoklch(41.95% 0.103 14.5)
XYZxyz(10.0569, 6.7245, 4.9052)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B313B #317B71
analogous
#7B3160 #7B313B #7B4C31
triadic
#7B313B #3B7B31 #313B7B
tetradic
#7B313B #607B31 #317B71 #4C317B
square
#7B313B #607B31 #317B71 #4C317B
split-complementary
#7B313B #317B4C #31607B
monochromatic
#230E11 #4F2026 #7B313B #A74250 #C26571

Accessibility & contrast

On white

8.96
#7B313B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7B313B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B313B
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B313B#FFFFFF#000000##FFFFFF
##7B313B1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41403B
Deuteranopia (green-blind)
#544F39
Tritanopia (blue-blind)
#862635
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7b313b;
/* rgb */ color: rgb(123, 49, 59);
/* oklch */ color: oklch(42.0% 0.103 14.5);
Tailwind
colors: {
  custom: {
    50: '#a56c70',
    500: '#7b313b',
    950: '#000000',
  },
}
SCSS
$custom: #7b313b;
$custom-light: #a56c70;
$custom-dark: #000000;
JSON
{
  "hex": "#7b313b",
  "rgb": {
    "r": 123,
    "g": 49,
    "b": 59
  },
  "hsl": {
    "h": 351.892,
    "s": 43.023,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41952,
    "c": 0.1033,
    "h": 14.5
  },
  "luminance": 0.06723
}

Semantic roles & 50–950 ramp

primary
#7B313B
secondary
#5FA99F
accent
#D3C255
background
#FAF6F6
surface
#F4ECEC
border
#CEC7C7
text
#100707
muted
#7F7A7A

Preview Lab

Preview with #7B313B

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

Preview Lab → · Contrast checker → · Palette generator →

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