#7A1F2D#7A1F2D

#7A1F2D is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.1% C 0.124 H 16.5°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#7A1F2D
RGBrgb(122, 31, 45)
HSLhsl(351, 59%, 30%)
HSVhsv(351, 75%, 48%)
CMYKcmyk(0%, 74.6%, 63.1%, 52.2%)
CIE-LABlab(27.60, 39.91, 14.54)
CIE-LCHlch(27.60, 42.47, 20.01°)
OKLaboklab(39.14% 0.1194 0.0354)
OKLCHoklch(39.14% 0.125 16.5)
XYZxyz(8.9906, 5.3083, 3.0333)
Luminance0.0531 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1F2D #1F7A6C
analogous
#7A1F5B #7A1F2D #7A3E1F
triadic
#7A1F2D #2D7A1F #1F2D7A
tetradic
#7A1F2D #5B7A1F #1F7A6C #3E1F7A
square
#7A1F2D #5B7A1F #1F7A6C #3E1F7A
split-complementary
#7A1F2D #1F7A3E #1F5B7A
monochromatic
#180609 #49131B #7A1F2D #AB2B3F #CF4459

Accessibility & contrast

On white

10.19
#7A1F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7A1F2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1F2D
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1F2D#FFFFFF#000000##FFFFFF
##7A1F2D1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37352D
Deuteranopia (green-blind)
#4F482B
Tritanopia (blue-blind)
#860525
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7a1f2d;
/* rgb */ color: rgb(122, 31, 45);
/* oklch */ color: oklch(39.1% 0.124 16.5);
Tailwind
colors: {
  custom: {
    50: '#a66265',
    500: '#7a1f2d',
    950: '#000000',
  },
}
SCSS
$custom: #7a1f2d;
$custom-light: #a66265;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1f2d",
  "rgb": {
    "r": 122,
    "g": 31,
    "b": 45
  },
  "hsl": {
    "h": 350.769,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.3914,
    "c": 0.1245,
    "h": 16.5
  },
  "luminance": 0.05307
}

Semantic roles & 50–950 ramp

primary
#7A1F2D
secondary
#47AD9E
accent
#E3CA45
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100505
muted
#7F7A7A

Preview Lab

Preview with #7A1F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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