#7D281B#7D281B

#7D281B is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.4% C 0.120 H 31.4°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#7D281B
RGBrgb(125, 40, 27)
HSLhsl(8, 64%, 30%)
HSVhsv(8, 78%, 49%)
CMYKcmyk(0%, 68%, 78.4%, 51%)
CIE-LABlab(29.31, 36.06, 28.22)
CIE-LCHlch(29.31, 45.79, 38.04°)
OKLaboklab(40.43% 0.1029 0.0627)
OKLCHoklch(40.43% 0.121 31.4)
XYZxyz(9.4151, 5.9581, 1.6910)
Luminance0.0596 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D281B #1B707D
analogous
#7D1B3F #7D281B #7D591B
triadic
#7D281B #1B7D28 #281B7D
tetradic
#7D281B #3F7D1B #1B707D #591B7D
square
#7D281B #3F7D1B #1B707D #591B7D
split-complementary
#7D281B #1B7D59 #1B3F7D
monochromatic
#190805 #4B1810 #7D281B #AF3826 #D5513D

Accessibility & contrast

On white

9.58
#7D281B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7D281B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D281B
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D281B#FFFFFF#000000##FFFFFF
##7D281B1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403919
Deuteranopia (green-blind)
#554C18
Tritanopia (blue-blind)
#8A1026
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d281b;
/* rgb */ color: rgb(125, 40, 27);
/* oklch */ color: oklch(40.4% 0.120 31.4);
Tailwind
colors: {
  custom: {
    50: '#aa6758',
    500: '#7d281b',
    950: '#000000',
  },
}
SCSS
$custom: #7d281b;
$custom-light: #aa6758;
$custom-dark: #000000;
JSON
{
  "hex": "#7d281b",
  "rgb": {
    "r": 125,
    "g": 40,
    "b": 27
  },
  "hsl": {
    "h": 7.959,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40434,
    "c": 0.1205,
    "h": 31.4
  },
  "luminance": 0.05957
}

Semantic roles & 50–950 ramp

primary
#7D281B
secondary
#43A2B1
accent
#D1E740
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7D281B

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

Preview Lab → · Contrast checker → · Palette generator →

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