#7D312E#7D312E

#7D312E is a dark, moderate red. Relative luminance 0.068; OKLCH L 42.0% C 0.107 H 25.0°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#7D312E
RGBrgb(125, 49, 46)
HSLhsl(2, 46%, 34%)
HSVhsv(2, 63%, 49%)
CMYKcmyk(0%, 60.8%, 63.2%, 51%)
CIE-LABlab(31.24, 32.80, 18.73)
CIE-LCHlch(31.24, 37.77, 29.72°)
OKLaboklab(41.98% 0.0966 0.0451)
OKLCHoklch(41.98% 0.107 25)
XYZxyz(10.0498, 6.7551, 3.3589)
Luminance0.0675 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D312E #2E7A7D
analogous
#7D2E52 #7D312E #7D582E
triadic
#7D312E #2E7D31 #312E7D
tetradic
#7D312E #527D2E #2E7A7D #582E7D
square
#7D312E #527D2E #2E7A7D #582E7D
split-complementary
#7D312E #2E7D58 #2E527D
monochromatic
#240E0D #501F1E #7D312E #AA433E #C56461

Accessibility & contrast

On white

8.93
#7D312E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D312E
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D312E#FFFFFF#000000##FFFFFF
##7D312E1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443F2D
Deuteranopia (green-blind)
#57502C
Tritanopia (blue-blind)
#892331
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d312e;
/* rgb */ color: rgb(125, 49, 46);
/* oklch */ color: oklch(42.0% 0.107 25.0);
Tailwind
colors: {
  custom: {
    50: '#a86c66',
    500: '#7d312e',
    950: '#000000',
  },
}
SCSS
$custom: #7d312e;
$custom-light: #a86c66;
$custom-dark: #000000;
JSON
{
  "hex": "#7d312e",
  "rgb": {
    "r": 125,
    "g": 49,
    "b": 46
  },
  "hsl": {
    "h": 2.278,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41984,
    "c": 0.10664,
    "h": 25
  },
  "luminance": 0.06754
}

Semantic roles & 50–950 ramp

primary
#7D312E
secondary
#5BA8AB
accent
#D1D652
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100706
muted
#7F7A7A

Preview Lab

Preview with #7D312E

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

Preview Lab → · Contrast checker → · Palette generator →

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