#7A262F#7A262F

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

Color values

HEX#7A262F
RGBrgb(122, 38, 47)
HSLhsl(354, 53%, 31%)
HSVhsv(354, 69%, 48%)
CMYKcmyk(0%, 68.9%, 61.5%, 52.2%)
CIE-LABlab(28.72, 37.08, 14.70)
CIE-LCHlch(28.72, 39.89, 21.62°)
OKLaboklab(39.99% 0.1107 0.036)
OKLCHoklch(39.99% 0.116 18)
XYZxyz(9.2331, 5.7303, 3.3086)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A262F #267A71
analogous
#7A2659 #7A262F #7A4726
triadic
#7A262F #2F7A26 #262F7A
tetradic
#7A262F #597A26 #267A71 #47267A
square
#7A262F #597A26 #267A71 #47267A
split-complementary
#7A262F #267A47 #26597A
monochromatic
#1D090B #4B171D #7A262F #A93541 #C9515E

Accessibility & contrast

On white

9.79
#7A262F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A262F
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A262F#FFFFFF#000000##FFFFFF
##7A262F1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B392F
Deuteranopia (green-blind)
#514A2D
Tritanopia (blue-blind)
#86142A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a262f;
/* rgb */ color: rgb(122, 38, 47);
/* oklch */ color: oklch(40.0% 0.116 18.0);
Tailwind
colors: {
  custom: {
    50: '#a66667',
    500: '#7a262f',
    950: '#000000',
  },
}
SCSS
$custom: #7a262f;
$custom-light: #a66667;
$custom-dark: #000000;
JSON
{
  "hex": "#7a262f",
  "rgb": {
    "r": 122,
    "g": 38,
    "b": 47
  },
  "hsl": {
    "h": 353.571,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39993,
    "c": 0.11642,
    "h": 18
  },
  "luminance": 0.05729
}

Semantic roles & 50–950 ramp

primary
#7A262F
secondary
#50ACA2
accent
#DCCC4C
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100606
muted
#7F7A7A

Preview Lab

Preview with #7A262F

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

Preview Lab → · Contrast checker → · Palette generator →

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