#7A1F28#7A1F28

#7A1F28 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.0% C 0.125 H 19.8°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#7A1F28
RGBrgb(122, 31, 40)
HSLhsl(354, 59%, 30%)
HSVhsv(354, 75%, 48%)
CMYKcmyk(0%, 74.6%, 67.2%, 52.2%)
CIE-LABlab(27.50, 39.57, 17.73)
CIE-LCHlch(27.50, 43.36, 24.13°)
OKLaboklab(39.03% 0.1172 0.0423)
OKLCHoklch(39.03% 0.125 19.8)
XYZxyz(8.9000, 5.2720, 2.5560)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1F28 #1F7A71
analogous
#7A1F55 #7A1F28 #7A441F
triadic
#7A1F28 #287A1F #1F287A
tetradic
#7A1F28 #557A1F #1F7A71 #441F7A
square
#7A1F28 #557A1F #1F7A71 #441F7A
split-complementary
#7A1F28 #1F7A44 #1F557A
monochromatic
#180608 #491318 #7A1F28 #AB2B38 #CF4452

Accessibility & contrast

On white

10.22
#7A1F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7A1F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1F28
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1F28#FFFFFF#000000##FFFFFF
##7A1F281.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383528
Deuteranopia (green-blind)
#4F4825
Tritanopia (blue-blind)
#860223
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7a1f28;
/* rgb */ color: rgb(122, 31, 40);
/* oklch */ color: oklch(39.0% 0.125 19.8);
Tailwind
colors: {
  custom: {
    50: '#a76261',
    500: '#7a1f28',
    950: '#000000',
  },
}
SCSS
$custom: #7a1f28;
$custom-light: #a76261;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1f28",
  "rgb": {
    "r": 122,
    "g": 31,
    "b": 40
  },
  "hsl": {
    "h": 354.066,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.39034,
    "c": 0.12461,
    "h": 19.8
  },
  "luminance": 0.05271
}

Semantic roles & 50–950 ramp

primary
#7A1F28
secondary
#47ADA3
accent
#E3D345
background
#FAF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110505
muted
#807A79

Preview Lab

Preview with #7A1F28

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

Preview Lab → · Contrast checker → · Palette generator →

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