#7A2829#7A2829

#7A2829 is a dark, moderate red. Relative luminance 0.058; OKLCH L 40.1% C 0.114 H 23.2°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#7A2829
RGBrgb(122, 40, 41)
HSLhsl(359, 51%, 32%)
HSVhsv(359, 67%, 48%)
CMYKcmyk(0%, 67.2%, 66.4%, 52.2%)
CIE-LABlab(28.94, 35.73, 18.91)
CIE-LCHlch(28.94, 40.42, 27.89°)
OKLaboklab(40.12% 0.1052 0.0451)
OKLCHoklch(40.12% 0.114 23.2)
XYZxyz(9.1860, 5.8165, 2.7364)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2829 #287A79
analogous
#7A2852 #7A2829 #7A5028
triadic
#7A2829 #297A28 #28297A
tetradic
#7A2829 #527A28 #287A79 #50287A
square
#7A2829 #527A28 #287A79 #50287A
split-complementary
#7A2829 #287A50 #28527A
monochromatic
#1E0A0A #4C191A #7A2829 #A83738 #C75556

Accessibility & contrast

On white

9.71
#7A2829 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7A2829 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2829
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2829#FFFFFF#000000##FFFFFF
##7A28291.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3928
Deuteranopia (green-blind)
#524B27
Tritanopia (blue-blind)
#861629
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a2829;
/* rgb */ color: rgb(122, 40, 41);
/* oklch */ color: oklch(40.1% 0.114 23.2);
Tailwind
colors: {
  custom: {
    50: '#a66762',
    500: '#7a2829',
    950: '#000000',
  },
}
SCSS
$custom: #7a2829;
$custom-light: #a66762;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2829",
  "rgb": {
    "r": 122,
    "g": 40,
    "b": 41
  },
  "hsl": {
    "h": 359.268,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40122,
    "c": 0.11448,
    "h": 23.2
  },
  "luminance": 0.05815
}

Semantic roles & 50–950 ramp

primary
#7A2829
secondary
#52ACAB
accent
#DAD84E
background
#FAF6F5
surface
#F4EBEA
border
#CEC6C6
text
#100605
muted
#7F7A79

Preview Lab

Preview with #7A2829

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

Preview Lab → · Contrast checker → · Palette generator →

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