#7D162E#7D162E

#7D162E is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.9% C 0.137 H 13.8°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#7D162E
RGBrgb(125, 22, 46)
HSLhsl(346, 70%, 29%)
HSVhsv(346, 82%, 49%)
CMYKcmyk(0%, 82.4%, 63.2%, 51%)
CIE-LABlab(27.11, 44.08, 13.33)
CIE-LCHlch(27.11, 46.05, 16.83°)
OKLaboklab(38.9% 0.1325 0.0326)
OKLCHoklch(38.9% 0.137 13.8)
XYZxyz(9.2385, 5.1324, 3.0884)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D162E #167D65
analogous
#7D1662 #7D162E #7D3216
triadic
#7D162E #2E7D16 #162E7D
tetradic
#7D162E #627D16 #167D65 #32167D
square
#7D162E #627D16 #167D65 #32167D
split-complementary
#7D162E #167D32 #16627D
monochromatic
#1A050A #490D1B #7D162E #B11F41 #DB325A

Accessibility & contrast

On white

10.36
#7D162E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7D162E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D162E
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D162E#FFFFFF#000000##FFFFFF
##7D162E1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34332E
Deuteranopia (green-blind)
#4E482B
Tritanopia (blue-blind)
#890020
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d162e;
/* rgb */ color: rgb(125, 22, 46);
/* oklch */ color: oklch(38.9% 0.137 13.8);
Tailwind
colors: {
  custom: {
    50: '#a95f66',
    500: '#7d162e',
    950: '#000000',
  },
}
SCSS
$custom: #7d162e;
$custom-light: #a95f66;
$custom-dark: #000000;
JSON
{
  "hex": "#7d162e",
  "rgb": {
    "r": 125,
    "g": 22,
    "b": 46
  },
  "hsl": {
    "h": 346.019,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38897,
    "c": 0.1365,
    "h": 13.8
  },
  "luminance": 0.05131
}

Semantic roles & 50–950 ramp

primary
#7D162E
secondary
#3DB297
accent
#EDC33B
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7D162E

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

Preview Lab → · Contrast checker → · Palette generator →

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