#7A262B#7A262B

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

Color values

HEX#7A262B
RGBrgb(122, 38, 43)
HSLhsl(356, 53%, 31%)
HSVhsv(356, 69%, 48%)
CMYKcmyk(0%, 68.9%, 64.8%, 52.2%)
CIE-LABlab(28.64, 36.79, 17.22)
CIE-LCHlch(28.64, 40.62, 25.08°)
OKLaboklab(39.91% 0.109 0.0414)
OKLCHoklch(39.91% 0.117 20.8)
XYZxyz(9.1561, 5.6995, 2.9030)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A262B #267A75
analogous
#7A2655 #7A262B #7A4B26
triadic
#7A262B #2B7A26 #262B7A
tetradic
#7A262B #557A26 #267A75 #4B267A
square
#7A262B #557A26 #267A75 #4B267A
split-complementary
#7A262B #267A4B #26557A
monochromatic
#1D090A #4B171B #7A262B #A9353B #C95159

Accessibility & contrast

On white

9.81
#7A262B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A262B
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A262B#FFFFFF#000000##FFFFFF
##7A262B1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C382B
Deuteranopia (green-blind)
#514A29
Tritanopia (blue-blind)
#861328
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a262b;
/* rgb */ color: rgb(122, 38, 43);
/* oklch */ color: oklch(39.9% 0.117 20.8);
Tailwind
colors: {
  custom: {
    50: '#a66664',
    500: '#7a262b',
    950: '#000000',
  },
}
SCSS
$custom: #7a262b;
$custom-light: #a66664;
$custom-dark: #000000;
JSON
{
  "hex": "#7a262b",
  "rgb": {
    "r": 122,
    "g": 38,
    "b": 43
  },
  "hsl": {
    "h": 356.429,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39907,
    "c": 0.11662,
    "h": 20.8
  },
  "luminance": 0.05698
}

Semantic roles & 50–950 ramp

primary
#7A262B
secondary
#50ACA7
accent
#DCD34C
background
#FAF6F5
surface
#F4EBEA
border
#CEC6C6
text
#100605
muted
#7F7A79

Preview Lab

Preview with #7A262B

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

Preview Lab → · Contrast checker → · Palette generator →

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