#7A2F23#7A2F23

#7A2F23 is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.0% C 0.108 H 31.3°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#7A2F23
RGBrgb(122, 47, 35)
HSLhsl(8, 55%, 31%)
HSVhsv(8, 71%, 48%)
CMYKcmyk(0%, 61.5%, 71.3%, 52.2%)
CIE-LABlab(30.14, 31.91, 24.17)
CIE-LCHlch(30.14, 40.03, 37.14°)
OKLaboklab(40.99% 0.092 0.0559)
OKLCHoklch(40.99% 0.108 31.3)
XYZxyz(9.3469, 6.2932, 2.3123)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2F23 #236E7A
analogous
#7A2342 #7A2F23 #7A5A23
triadic
#7A2F23 #237A2F #2F237A
tetradic
#7A2F23 #427A23 #236E7A #5A237A
square
#7A2F23 #427A23 #236E7A #5A237A
split-complementary
#7A2F23 #237A5A #23427A
monochromatic
#1B0A08 #4A1D15 #7A2F23 #AA4131 #CC5D4C

Accessibility & contrast

On white

9.30
#7A2F23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A2F23
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2F23#FFFFFF#000000##FFFFFF
##7A2F231.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433D21
Deuteranopia (green-blind)
#564D21
Tritanopia (blue-blind)
#861F2C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a2f23;
/* rgb */ color: rgb(122, 47, 35);
/* oklch */ color: oklch(41.0% 0.108 31.3);
Tailwind
colors: {
  custom: {
    50: '#a66b5e',
    500: '#7a2f23',
    950: '#000000',
  },
}
SCSS
$custom: #7a2f23;
$custom-light: #a66b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2f23",
  "rgb": {
    "r": 122,
    "g": 47,
    "b": 35
  },
  "hsl": {
    "h": 8.276,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40991,
    "c": 0.10763,
    "h": 31.3
  },
  "luminance": 0.06292
}

Semantic roles & 50–950 ramp

primary
#7A2F23
secondary
#4C9FAD
accent
#CADF49
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100704
muted
#7F7A79

Preview Lab

Preview with #7A2F23

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

Preview Lab → · Contrast checker → · Palette generator →

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