#7D2829#7D2829

#7D2829 is a dark, moderate red. Relative luminance 0.060; OKLCH L 40.7% C 0.118 H 23.4°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#7D2829
RGBrgb(125, 40, 41)
HSLhsl(359, 52%, 32%)
HSVhsv(359, 68%, 49%)
CMYKcmyk(0%, 68%, 67.2%, 51%)
CIE-LABlab(29.51, 36.83, 19.74)
CIE-LCHlch(29.51, 41.78, 28.19°)
OKLaboklab(40.65% 0.1083 0.0468)
OKLCHoklch(40.65% 0.118 23.4)
XYZxyz(9.6174, 6.0390, 2.7566)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2829 #287D7C
analogous
#7D2854 #7D2829 #7D5128
triadic
#7D2829 #297D28 #28297D
tetradic
#7D2829 #547D28 #287D7C #51287D
square
#7D2829 #547D28 #287D7C #51287D
split-complementary
#7D2829 #287D51 #28547D
monochromatic
#200A0B #4F191A #7D2829 #AB3738 #C95658

Accessibility & contrast

On white

9.51
#7D2829 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7D2829 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2829
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2829#FFFFFF#000000##FFFFFF
##7D28291.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3A28
Deuteranopia (green-blind)
#544C27
Tritanopia (blue-blind)
#891429
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d2829;
/* rgb */ color: rgb(125, 40, 41);
/* oklch */ color: oklch(40.7% 0.118 23.4);
Tailwind
colors: {
  custom: {
    50: '#a96762',
    500: '#7d2829',
    950: '#000000',
  },
}
SCSS
$custom: #7d2829;
$custom-light: #a96762;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2829",
  "rgb": {
    "r": 125,
    "g": 40,
    "b": 41
  },
  "hsl": {
    "h": 359.294,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40652,
    "c": 0.11801,
    "h": 23.4
  },
  "luminance": 0.06038
}

Semantic roles & 50–950 ramp

primary
#7D2829
secondary
#53AEAD
accent
#DBD94D
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7D2829

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

Preview Lab → · Contrast checker → · Palette generator →

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