#7A262A#7A262A

#7A262A is a dark, moderate red. Relative luminance 0.057; OKLCH L 39.9% C 0.117 H 21.5°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#7A262A
RGBrgb(122, 38, 42)
HSLhsl(357, 53%, 31%)
HSVhsv(357, 69%, 48%)
CMYKcmyk(0%, 68.9%, 65.6%, 52.2%)
CIE-LABlab(28.62, 36.72, 17.85)
CIE-LCHlch(28.62, 40.83, 25.92°)
OKLaboklab(39.89% 0.1086 0.0428)
OKLCHoklch(39.89% 0.117 21.5)
XYZxyz(9.1380, 5.6922, 2.8076)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A262A #267A76
analogous
#7A2654 #7A262A #7A4C26
triadic
#7A262A #2A7A26 #262A7A
tetradic
#7A262A #547A26 #267A76 #4C267A
square
#7A262A #547A26 #267A76 #4C267A
split-complementary
#7A262A #267A4C #26547A
monochromatic
#1D090A #4B171A #7A262A #A9353A #C95157

Accessibility & contrast

On white

9.82
#7A262A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7A262A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A262A
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A262A#FFFFFF#000000##FFFFFF
##7A262A1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C382A
Deuteranopia (green-blind)
#514A28
Tritanopia (blue-blind)
#861228
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a262a;
/* rgb */ color: rgb(122, 38, 42);
/* oklch */ color: oklch(39.9% 0.117 21.5);
Tailwind
colors: {
  custom: {
    50: '#a66663',
    500: '#7a262a',
    950: '#000000',
  },
}
SCSS
$custom: #7a262a;
$custom-light: #a66663;
$custom-dark: #000000;
JSON
{
  "hex": "#7a262a",
  "rgb": {
    "r": 122,
    "g": 38,
    "b": 42
  },
  "hsl": {
    "h": 357.143,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39886,
    "c": 0.1167,
    "h": 21.5
  },
  "luminance": 0.05691
}

Semantic roles & 50–950 ramp

primary
#7A262A
secondary
#50ACA8
accent
#DCD54C
background
#FAF6F5
surface
#F4EBEA
border
#CEC6C6
text
#100605
muted
#7F7A79

Preview Lab

Preview with #7A262A

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

Preview Lab → · Contrast checker → · Palette generator →

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