#7A281F#7A281F

#7A281F is a dark, moderate red. Relative luminance 0.058; OKLCH L 40.0% C 0.116 H 29.4°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#7A281F
RGBrgb(122, 40, 31)
HSLhsl(6, 59%, 30%)
HSVhsv(6, 75%, 48%)
CMYKcmyk(0%, 67.2%, 74.6%, 52.2%)
CIE-LABlab(28.79, 35.13, 25.06)
CIE-LCHlch(28.79, 43.15, 35.50°)
OKLaboklab(39.95% 0.1012 0.057)
OKLCHoklch(39.95% 0.116 29.4)
XYZxyz(9.0331, 5.7554, 1.9313)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A281F #1F717A
analogous
#7A1F44 #7A281F #7A551F
triadic
#7A281F #1F7A28 #281F7A
tetradic
#7A281F #447A1F #1F717A #551F7A
square
#7A281F #447A1F #1F717A #551F7A
split-complementary
#7A281F #1F7A55 #1F447A
monochromatic
#180806 #491813 #7A281F #AB382B #CF5244

Accessibility & contrast

On white

9.76
#7A281F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7A281F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A281F
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A281F#FFFFFF#000000##FFFFFF
##7A281F1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F391E
Deuteranopia (green-blind)
#534B1C
Tritanopia (blue-blind)
#861326
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a281f;
/* rgb */ color: rgb(122, 40, 31);
/* oklch */ color: oklch(40.0% 0.116 29.4);
Tailwind
colors: {
  custom: {
    50: '#a7665b',
    500: '#7a281f',
    950: '#000000',
  },
}
SCSS
$custom: #7a281f;
$custom-light: #a7665b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a281f",
  "rgb": {
    "r": 122,
    "g": 40,
    "b": 31
  },
  "hsl": {
    "h": 5.934,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.39952,
    "c": 0.11617,
    "h": 29.4
  },
  "luminance": 0.05754
}

Semantic roles & 50–950 ramp

primary
#7A281F
secondary
#47A3AD
accent
#D3E345
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7A281F

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

Preview Lab → · Contrast checker → · Palette generator →

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