#7A2E28#7A2E28

#7A2E28 is a dark, moderate red. Relative luminance 0.062; OKLCH L 40.9% C 0.108 H 27.3°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#7A2E28
RGBrgb(122, 46, 40)
HSLhsl(4, 51%, 32%)
HSVhsv(4, 67%, 48%)
CMYKcmyk(0%, 62.3%, 67.2%, 52.2%)
CIE-LABlab(30.02, 32.73, 20.90)
CIE-LCHlch(30.02, 38.84, 32.56°)
OKLaboklab(40.93% 0.0956 0.0494)
OKLCHoklch(40.93% 0.108 27.3)
XYZxyz(9.3869, 6.2460, 2.7184)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2E28 #28747A
analogous
#7A284B #7A2E28 #7A5728
triadic
#7A2E28 #287A2E #2E287A
tetradic
#7A2E28 #4B7A28 #28747A #57287A
square
#7A2E28 #4B7A28 #28747A #57287A
split-complementary
#7A2E28 #287A57 #284B7A
monochromatic
#1E0B0A #4C1D19 #7A2E28 #A83F37 #C75D55

Accessibility & contrast

On white

9.34
#7A2E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7A2E28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2E28
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2E28#FFFFFF#000000##FFFFFF
##7A2E281.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C27
Deuteranopia (green-blind)
#554D26
Tritanopia (blue-blind)
#861E2D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a2e28;
/* rgb */ color: rgb(122, 46, 40);
/* oklch */ color: oklch(40.9% 0.108 27.3);
Tailwind
colors: {
  custom: {
    50: '#a66a62',
    500: '#7a2e28',
    950: '#000000',
  },
}
SCSS
$custom: #7a2e28;
$custom-light: #a66a62;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2e28",
  "rgb": {
    "r": 122,
    "g": 46,
    "b": 40
  },
  "hsl": {
    "h": 4.39,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40928,
    "c": 0.10762,
    "h": 27.3
  },
  "luminance": 0.06245
}

Semantic roles & 50–950 ramp

primary
#7A2E28
secondary
#52A5AC
accent
#D0DA4E
background
#FAF6F5
surface
#F4EBEA
border
#CEC6C6
text
#100705
muted
#7F7A79

Preview Lab

Preview with #7A2E28

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

Preview Lab → · Contrast checker → · Palette generator →

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