#7A2F2D#7A2F2D

#7A2F2D is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.2% C 0.106 H 24.4°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#7A2F2D
RGBrgb(122, 47, 45)
HSLhsl(2, 46%, 33%)
HSVhsv(2, 63%, 48%)
CMYKcmyk(0%, 61.5%, 63.1%, 52.2%)
CIE-LABlab(30.31, 32.58, 18.06)
CIE-LCHlch(30.31, 37.26, 29.00°)
OKLaboklab(41.17% 0.0961 0.0436)
OKLCHoklch(41.17% 0.106 24.4)
XYZxyz(9.5171, 6.3613, 3.2088)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2F2D #2D787A
analogous
#7A2D52 #7A2F2D #7A552D
triadic
#7A2F2D #2D7A2F #2F2D7A
tetradic
#7A2F2D #527A2D #2D787A #552D7A
square
#7A2F2D #527A2D #2D787A #552D7A
split-complementary
#7A2F2D #2D7A55 #2D527A
monochromatic
#210D0C #4D1E1D #7A2F2D #A7403D #C4605E

Accessibility & contrast

On white

9.24
#7A2F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7A2F2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2F2D
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2F2D#FFFFFF#000000##FFFFFF
##7A2F2D1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423D2C
Deuteranopia (green-blind)
#554D2B
Tritanopia (blue-blind)
#86212F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a2f2d;
/* rgb */ color: rgb(122, 47, 45);
/* oklch */ color: oklch(41.2% 0.106 24.4);
Tailwind
colors: {
  custom: {
    50: '#a56b66',
    500: '#7a2f2d',
    950: '#000000',
  },
}
SCSS
$custom: #7a2f2d;
$custom-light: #a56b66;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2f2d",
  "rgb": {
    "r": 122,
    "g": 47,
    "b": 45
  },
  "hsl": {
    "h": 1.558,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41169,
    "c": 0.10553,
    "h": 24.4
  },
  "luminance": 0.0636
}

Semantic roles & 50–950 ramp

primary
#7A2F2D
secondary
#59A8AA
accent
#D2D652
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100705
muted
#7F7A7A

Preview Lab

Preview with #7A2F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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