#7A313F#7A313F

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

Color values

HEX#7A313F
RGBrgb(122, 49, 63)
HSLhsl(348, 43%, 34%)
HSVhsv(348, 60%, 48%)
CMYKcmyk(0%, 59.8%, 48.4%, 52.2%)
CIE-LABlab(31.10, 33.20, 7.43)
CIE-LCHlch(31.10, 34.02, 12.61°)
OKLaboklab(41.9% 0.1006 0.0192)
OKLCHoklch(41.9% 0.102 10.8)
XYZxyz(10.0223, 6.6942, 5.4660)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A313F #317A6C
analogous
#7A3163 #7A313F #7A4731
triadic
#7A313F #3F7A31 #313F7A
tetradic
#7A313F #637A31 #317A6C #47317A
square
#7A313F #637A31 #317A6C #47317A
split-complementary
#7A313F #317A47 #31637A
monochromatic
#230E12 #4E1F28 #7A313F #A64356 #C16476

Accessibility & contrast

On white

8.98
#7A313F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A313F
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A313F#FFFFFF#000000##FFFFFF
##7A313F1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40403F
Deuteranopia (green-blind)
#534F3D
Tritanopia (blue-blind)
#852736
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a313f;
/* rgb */ color: rgb(122, 49, 63);
/* oklch */ color: oklch(41.9% 0.102 10.8);
Tailwind
colors: {
  custom: {
    50: '#a46c73',
    500: '#7a313f',
    950: '#000000',
  },
}
SCSS
$custom: #7a313f;
$custom-light: #a46c73;
$custom-dark: #000000;
JSON
{
  "hex": "#7a313f",
  "rgb": {
    "r": 122,
    "g": 49,
    "b": 63
  },
  "hsl": {
    "h": 348.493,
    "s": 42.69,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41898,
    "c": 0.10244,
    "h": 10.8
  },
  "luminance": 0.06693
}

Semantic roles & 50–950 ramp

primary
#7A313F
secondary
#5EA89A
accent
#D2BA55
background
#FAF6F7
surface
#F4ECED
border
#CEC7C8
text
#100708
muted
#7F7A7B

Preview Lab

Preview with #7A313F

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

Preview Lab → · Contrast checker → · Palette generator →

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