#7D281F#7D281F

#7D281F is a dark, moderate red. Relative luminance 0.060; OKLCH L 40.5% C 0.120 H 29.3°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#7D281F
RGBrgb(125, 40, 31)
HSLhsl(6, 60%, 31%)
HSVhsv(6, 75%, 49%)
CMYKcmyk(0%, 68%, 75.2%, 51%)
CIE-LABlab(29.36, 36.25, 25.86)
CIE-LCHlch(29.36, 44.53, 35.50°)
OKLaboklab(40.49% 0.1043 0.0586)
OKLCHoklch(40.49% 0.12 29.3)
XYZxyz(9.4646, 5.9778, 1.9515)
Luminance0.0598 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D281F #1F747D
analogous
#7D1F45 #7D281F #7D571F
triadic
#7D281F #1F7D28 #281F7D
tetradic
#7D281F #457D1F #1F747D #571F7D
square
#7D281F #457D1F #1F747D #571F7D
split-complementary
#7D281F #1F7D57 #1F457D
monochromatic
#1B0907 #4C1813 #7D281F #AE382B #D15345

Accessibility & contrast

On white

9.57
#7D281F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7D281F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D281F
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D281F#FFFFFF#000000##FFFFFF
##7D281F1.009.572.209.57
#FFFFFF9.571.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40391D
Deuteranopia (green-blind)
#554C1C
Tritanopia (blue-blind)
#8A1126
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d281f;
/* rgb */ color: rgb(125, 40, 31);
/* oklch */ color: oklch(40.5% 0.120 29.3);
Tailwind
colors: {
  custom: {
    50: '#a9675b',
    500: '#7d281f',
    950: '#000000',
  },
}
SCSS
$custom: #7d281f;
$custom-light: #a9675b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d281f",
  "rgb": {
    "r": 125,
    "g": 40,
    "b": 31
  },
  "hsl": {
    "h": 5.745,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40487,
    "c": 0.11967,
    "h": 29.3
  },
  "luminance": 0.05976
}

Semantic roles & 50–950 ramp

primary
#7D281F
secondary
#48A6B0
accent
#D4E344
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7D281F

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

Preview Lab → · Contrast checker → · Palette generator →

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