#7A1D12#7A1D12

#7A1D12 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.5% C 0.129 H 30.5°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#7A1D12
RGBrgb(122, 29, 18)
HSLhsl(6, 74%, 27%)
HSVhsv(6, 85%, 48%)
CMYKcmyk(0%, 76.2%, 85.2%, 52.2%)
CIE-LABlab(26.91, 39.31, 30.78)
CIE-LCHlch(26.91, 49.92, 38.06°)
OKLaboklab(38.5% 0.1115 0.0656)
OKLCHoklch(38.5% 0.129 30.5)
XYZxyz(8.5756, 5.0613, 1.0975)
Luminance0.0506 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1D12 #126F7A
analogous
#7A123B #7A1D12 #7A5112
triadic
#7A1D12 #127A1D #1D127A
tetradic
#7A1D12 #3B7A12 #126F7A #51127A
square
#7A1D12 #3B7A12 #126F7A #51127A
split-complementary
#7A1D12 #127A51 #123B7A
monochromatic
#1B0604 #45100A #7A1D12 #AF2A1A #DF3B27

Accessibility & contrast

On white

10.44
#7A1D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7A1D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1D12
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1D12#FFFFFF#000000##FFFFFF
##7A1D121.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393310
Deuteranopia (green-blind)
#50470D
Tritanopia (blue-blind)
#87001B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1d12;
/* rgb */ color: rgb(122, 29, 18);
/* oklch */ color: oklch(38.5% 0.129 30.5);
Tailwind
colors: {
  custom: {
    50: '#a96151',
    500: '#7a1d12',
    950: '#000000',
  },
}
SCSS
$custom: #7a1d12;
$custom-light: #a96151;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1d12",
  "rgb": {
    "r": 122,
    "g": 29,
    "b": 18
  },
  "hsl": {
    "h": 6.346,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38498,
    "c": 0.12935,
    "h": 30.5
  },
  "luminance": 0.0506
}

Semantic roles & 50–950 ramp

primary
#7A1D12
secondary
#38A3B0
accent
#DDF137
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#110502
muted
#807978

Preview Lab

Preview with #7A1D12

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

Preview Lab → · Contrast checker → · Palette generator →

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