#7B2829#7B2829

#7B2829 is a dark, moderate red. Relative luminance 0.059; OKLCH L 40.3% C 0.116 H 23.2°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#7B2829
RGBrgb(123, 40, 41)
HSLhsl(359, 51%, 32%)
HSVhsv(359, 67%, 48%)
CMYKcmyk(0%, 67.5%, 66.7%, 51.8%)
CIE-LABlab(29.13, 36.10, 19.18)
CIE-LCHlch(29.13, 40.88, 27.99°)
OKLaboklab(40.3% 0.1063 0.0456)
OKLCHoklch(40.3% 0.116 23.2)
XYZxyz(9.3283, 5.8899, 2.7431)
Luminance0.0589 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2829 #287B7A
analogous
#7B2853 #7B2829 #7B5128
triadic
#7B2829 #297B28 #28297B
tetradic
#7B2829 #537B28 #287B7A #51287B
square
#7B2829 #537B28 #287B7A #51287B
split-complementary
#7B2829 #287B51 #28537B
monochromatic
#1F0A0A #4D191A #7B2829 #A93738 #C85657

Accessibility & contrast

On white

9.64
#7B2829 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7B2829 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2829
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2829#FFFFFF#000000##FFFFFF
##7B28291.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3928
Deuteranopia (green-blind)
#534B27
Tritanopia (blue-blind)
#871529
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b2829;
/* rgb */ color: rgb(123, 40, 41);
/* oklch */ color: oklch(40.3% 0.116 23.2);
Tailwind
colors: {
  custom: {
    50: '#a76762',
    500: '#7b2829',
    950: '#000000',
  },
}
SCSS
$custom: #7b2829;
$custom-light: #a76762;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2829",
  "rgb": {
    "r": 123,
    "g": 40,
    "b": 41
  },
  "hsl": {
    "h": 359.277,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40299,
    "c": 0.11567,
    "h": 23.2
  },
  "luminance": 0.05889
}

Semantic roles & 50–950 ramp

primary
#7B2829
secondary
#52ADAC
accent
#DAD94D
background
#FAF6F5
surface
#F4EBEA
border
#CEC6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7B2829

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

Preview Lab → · Contrast checker → · Palette generator →

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