#7B313C#7B313C

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

Color values

HEX#7B313C
RGBrgb(123, 49, 60)
HSLhsl(351, 43%, 34%)
HSVhsv(351, 60%, 48%)
CMYKcmyk(0%, 60.2%, 51.2%, 51.8%)
CIE-LABlab(31.20, 33.26, 9.55)
CIE-LCHlch(31.20, 34.61, 16.01°)
OKLaboklab(41.98% 0.1005 0.0243)
OKLCHoklch(41.98% 0.103 13.6)
XYZxyz(10.0831, 6.7350, 5.0431)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B313C #317B70
analogous
#7B3161 #7B313C #7B4B31
triadic
#7B313C #3C7B31 #313C7B
tetradic
#7B313C #617B31 #317B70 #4B317B
square
#7B313C #617B31 #317B70 #4B317B
split-complementary
#7B313C #317B4B #31617B
monochromatic
#230E11 #4F2027 #7B313C #A74251 #C26573

Accessibility & contrast

On white

8.95
#7B313C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7B313C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B313C
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B313C#FFFFFF#000000##FFFFFF
##7B313C1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b313c;
/* rgb */ color: rgb(123, 49, 60);
/* oklch */ color: oklch(42.0% 0.103 13.6);
Tailwind
colors: {
  custom: {
    50: '#a56c71',
    500: '#7b313c',
    950: '#000000',
  },
}
SCSS
$custom: #7b313c;
$custom-light: #a56c71;
$custom-dark: #000000;
JSON
{
  "hex": "#7b313c",
  "rgb": {
    "r": 123,
    "g": 49,
    "b": 60
  },
  "hsl": {
    "h": 351.081,
    "s": 43.023,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41978,
    "c": 0.10336,
    "h": 13.6
  },
  "luminance": 0.06734
}

Semantic roles & 50–950 ramp

primary
#7B313C
secondary
#5FA99E
accent
#D3C055
background
#FAF6F6
surface
#F4ECEC
border
#CEC7C7
text
#100707
muted
#7F7A7A

Preview Lab

Preview with #7B313C

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

Preview Lab → · Contrast checker → · Palette generator →

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