#7A1D2F#7A1D2F

#7A1D2F is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.127 H 14.5°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#7A1D2F
RGBrgb(122, 29, 47)
HSLhsl(348, 62%, 30%)
HSVhsv(348, 76%, 48%)
CMYKcmyk(0%, 76.2%, 61.5%, 52.2%)
CIE-LABlab(27.36, 40.82, 12.88)
CIE-LCHlch(27.36, 42.81, 17.52°)
OKLaboklab(38.98% 0.1227 0.0317)
OKLCHoklch(38.98% 0.127 14.5)
XYZxyz(8.9794, 5.2228, 3.2241)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1D2F #1D7A68
analogous
#7A1D5E #7A1D2F #7A3A1D
triadic
#7A1D2F #2F7A1D #1D2F7A
tetradic
#7A1D2F #5E7A1D #1D7A68 #3A1D7A
square
#7A1D2F #5E7A1D #1D7A68 #3A1D7A
split-complementary
#7A1D2F #1D7A3A #1D5E7A
monochromatic
#19060A #49111C #7A1D2F #AB2942 #D2405C

Accessibility & contrast

On white

10.27
#7A1D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7A1D2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1D2F
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1D2F#FFFFFF#000000##FFFFFF
##7A1D2F1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36342F
Deuteranopia (green-blind)
#4E482D
Tritanopia (blue-blind)
#860124
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7a1d2f;
/* rgb */ color: rgb(122, 29, 47);
/* oklch */ color: oklch(39.0% 0.127 14.5);
Tailwind
colors: {
  custom: {
    50: '#a66167',
    500: '#7a1d2f',
    950: '#000000',
  },
}
SCSS
$custom: #7a1d2f;
$custom-light: #a66167;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1d2f",
  "rgb": {
    "r": 122,
    "g": 29,
    "b": 47
  },
  "hsl": {
    "h": 348.387,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38979,
    "c": 0.12672,
    "h": 14.5
  },
  "luminance": 0.05222
}

Semantic roles & 50–950 ramp

primary
#7A1D2F
secondary
#45AE99
accent
#E5C543
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100506
muted
#7F7A7A

Preview Lab

Preview with #7A1D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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