#7A313E#7A313E

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

Color values

HEX#7A313E
RGBrgb(122, 49, 62)
HSLhsl(349, 43%, 34%)
HSVhsv(349, 60%, 48%)
CMYKcmyk(0%, 59.8%, 49.2%, 52.2%)
CIE-LABlab(31.07, 33.09, 8.05)
CIE-LCHlch(31.07, 34.06, 13.67°)
OKLaboklab(41.87% 0.1002 0.0207)
OKLCHoklch(41.87% 0.102 11.7)
XYZxyz(9.9946, 6.6832, 5.3201)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A313E #317A6D
analogous
#7A3162 #7A313E #7A4831
triadic
#7A313E #3E7A31 #313E7A
tetradic
#7A313E #627A31 #317A6D #48317A
square
#7A313E #627A31 #317A6D #48317A
split-complementary
#7A313E #317A48 #31627A
monochromatic
#230E12 #4E1F28 #7A313E #A64354 #C16475

Accessibility & contrast

On white

8.99
#7A313E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A313E
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A313E#FFFFFF#000000##FFFFFF
##7A313E1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41403E
Deuteranopia (green-blind)
#534F3C
Tritanopia (blue-blind)
#852736
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a313e;
/* rgb */ color: rgb(122, 49, 62);
/* oklch */ color: oklch(41.9% 0.102 11.7);
Tailwind
colors: {
  custom: {
    50: '#a46c73',
    500: '#7a313e',
    950: '#000000',
  },
}
SCSS
$custom: #7a313e;
$custom-light: #a46c73;
$custom-dark: #000000;
JSON
{
  "hex": "#7a313e",
  "rgb": {
    "r": 122,
    "g": 49,
    "b": 62
  },
  "hsl": {
    "h": 349.315,
    "s": 42.69,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4187,
    "c": 0.10232,
    "h": 11.7
  },
  "luminance": 0.06682
}

Semantic roles & 50–950 ramp

primary
#7A313E
secondary
#5EA89B
accent
#D2BC55
background
#FAF6F6
surface
#F4ECEC
border
#CEC7C7
text
#100708
muted
#7F7A7B

Preview Lab

Preview with #7A313E

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

Preview Lab → · Contrast checker → · Palette generator →

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