#7A2F28#7A2F28

#7A2F28 is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.1% C 0.106 H 28.0°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#7A2F28
RGBrgb(122, 47, 40)
HSLhsl(5, 51%, 32%)
HSVhsv(5, 67%, 48%)
CMYKcmyk(0%, 61.5%, 67.2%, 52.2%)
CIE-LABlab(30.22, 32.23, 21.14)
CIE-LCHlch(30.22, 38.54, 33.26°)
OKLaboklab(41.07% 0.094 0.0499)
OKLCHoklch(41.07% 0.106 28)
XYZxyz(9.4265, 6.3250, 2.7315)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2F28 #28737A
analogous
#7A284A #7A2F28 #7A5828
triadic
#7A2F28 #287A2F #2F287A
tetradic
#7A2F28 #4A7A28 #28737A #58287A
square
#7A2F28 #4A7A28 #28737A #58287A
split-complementary
#7A2F28 #287A58 #284A7A
monochromatic
#1E0B0A #4C1D19 #7A2F28 #A84137 #C75F55

Accessibility & contrast

On white

9.27
#7A2F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7A2F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2F28
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2F28#FFFFFF#000000##FFFFFF
##7A2F281.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423D27
Deuteranopia (green-blind)
#554D26
Tritanopia (blue-blind)
#86202E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a2f28;
/* rgb */ color: rgb(122, 47, 40);
/* oklch */ color: oklch(41.1% 0.106 28.0);
Tailwind
colors: {
  custom: {
    50: '#a66b62',
    500: '#7a2f28',
    950: '#000000',
  },
}
SCSS
$custom: #7a2f28;
$custom-light: #a66b62;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2f28",
  "rgb": {
    "r": 122,
    "g": 47,
    "b": 40
  },
  "hsl": {
    "h": 5.122,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41074,
    "c": 0.10646,
    "h": 28
  },
  "luminance": 0.06324
}

Semantic roles & 50–950 ramp

primary
#7A2F28
secondary
#52A4AC
accent
#CEDA4E
background
#FAF6F5
surface
#F4EBEA
border
#CEC6C6
text
#100705
muted
#7F7A79

Preview Lab

Preview with #7A2F28

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

Preview Lab → · Contrast checker → · Palette generator →

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