#7A2C28#7A2C28

#7A2C28 is a dark, moderate red. Relative luminance 0.061; OKLCH L 40.6% C 0.110 H 26.1°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#7A2C28
RGBrgb(122, 44, 40)
HSLhsl(3, 51%, 32%)
HSVhsv(3, 67%, 48%)
CMYKcmyk(0%, 63.9%, 67.2%, 52.2%)
CIE-LABlab(29.65, 33.73, 20.43)
CIE-LCHlch(29.65, 39.44, 31.20°)
OKLaboklab(40.64% 0.0988 0.0483)
OKLCHoklch(40.64% 0.11 26.1)
XYZxyz(9.3106, 6.0934, 2.6929)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2C28 #28767A
analogous
#7A284D #7A2C28 #7A5528
triadic
#7A2C28 #287A2C #2C287A
tetradic
#7A2C28 #4D7A28 #28767A #55287A
square
#7A2C28 #4D7A28 #28767A #55287A
split-complementary
#7A2C28 #287A55 #284D7A
monochromatic
#1E0B0A #4C1B19 #7A2C28 #A83D37 #C75B55

Accessibility & contrast

On white

9.47
#7A2C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7A2C28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2C28
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2C28#FFFFFF#000000##FFFFFF
##7A2C281.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B27
Deuteranopia (green-blind)
#544C26
Tritanopia (blue-blind)
#861C2C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a2c28;
/* rgb */ color: rgb(122, 44, 40);
/* oklch */ color: oklch(40.6% 0.110 26.1);
Tailwind
colors: {
  custom: {
    50: '#a66962',
    500: '#7a2c28',
    950: '#000000',
  },
}
SCSS
$custom: #7a2c28;
$custom-light: #a66962;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2c28",
  "rgb": {
    "r": 122,
    "g": 44,
    "b": 40
  },
  "hsl": {
    "h": 2.927,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40644,
    "c": 0.10995,
    "h": 26.1
  },
  "luminance": 0.06092
}

Semantic roles & 50–950 ramp

primary
#7A2C28
secondary
#52A7AC
accent
#D3DA4E
background
#FAF6F5
surface
#F4EBEA
border
#CEC6C6
text
#100605
muted
#7F7A79

Preview Lab

Preview with #7A2C28

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

Preview Lab → · Contrast checker → · Palette generator →

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