#7B313F#7B313F

#7B313F is a dark, moderate red. Relative luminance 0.068; OKLCH L 42.1% C 0.104 H 11.0°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#7B313F
RGBrgb(123, 49, 63)
HSLhsl(349, 43%, 34%)
HSVhsv(349, 60%, 48%)
CMYKcmyk(0%, 60.2%, 48.8%, 51.8%)
CIE-LABlab(31.27, 33.57, 7.69)
CIE-LCHlch(31.27, 34.44, 12.91°)
OKLaboklab(42.06% 0.1017 0.0198)
OKLCHoklch(42.06% 0.104 11)
XYZxyz(10.1646, 6.7676, 5.4727)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B313F #317B6D
analogous
#7B3164 #7B313F #7B4831
triadic
#7B313F #3F7B31 #313F7B
tetradic
#7B313F #647B31 #317B6D #48317B
square
#7B313F #647B31 #317B6D #48317B
split-complementary
#7B313F #317B48 #31647B
monochromatic
#230E12 #4F2029 #7B313F #A74255 #C26576

Accessibility & contrast

On white

8.92
#7B313F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B313F
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B313F#FFFFFF#000000##FFFFFF
##7B313F1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41403F
Deuteranopia (green-blind)
#544F3D
Tritanopia (blue-blind)
#862736
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7b313f;
/* rgb */ color: rgb(123, 49, 63);
/* oklch */ color: oklch(42.1% 0.104 11.0);
Tailwind
colors: {
  custom: {
    50: '#a56c73',
    500: '#7b313f',
    950: '#000000',
  },
}
SCSS
$custom: #7b313f;
$custom-light: #a56c73;
$custom-dark: #000000;
JSON
{
  "hex": "#7b313f",
  "rgb": {
    "r": 123,
    "g": 49,
    "b": 63
  },
  "hsl": {
    "h": 348.649,
    "s": 43.023,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4206,
    "c": 0.10365,
    "h": 11
  },
  "luminance": 0.06766
}

Semantic roles & 50–950 ramp

primary
#7B313F
secondary
#5FA99B
accent
#D3BB55
background
#FAF6F7
surface
#F4ECED
border
#CEC7C8
text
#100708
muted
#7F7A7B

Preview Lab

Preview with #7B313F

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

Preview Lab → · Contrast checker → · Palette generator →

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