#7D2F17#7D2F17

#7D2F17 is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.3% C 0.114 H 37.3°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#7D2F17
RGBrgb(125, 47, 23)
HSLhsl(14, 69%, 29%)
HSVhsv(14, 82%, 49%)
CMYKcmyk(0%, 62.4%, 81.6%, 51%)
CIE-LABlab(30.54, 32.51, 31.77)
CIE-LCHlch(30.54, 45.45, 44.34°)
OKLaboklab(41.35% 0.0911 0.0693)
OKLCHoklch(41.35% 0.114 37.3)
XYZxyz(9.6297, 6.4562, 1.5495)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2F17 #17657D
analogous
#7D1732 #7D2F17 #7D6217
triadic
#7D2F17 #177D2F #2F177D
tetradic
#7D2F17 #327D17 #17657D #62177D
square
#7D2F17 #327D17 #17657D #62177D
split-complementary
#7D2F17 #177D62 #17327D
monochromatic
#1A0A05 #491C0D #7D2F17 #B14221 #DA5B35

Accessibility & contrast

On white

9.17
#7D2F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7D2F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2F17
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2F17#FFFFFF#000000##FFFFFF
##7D2F171.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D14
Deuteranopia (green-blind)
#584E14
Tritanopia (blue-blind)
#8A1C2A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d2f17;
/* rgb */ color: rgb(125, 47, 23);
/* oklch */ color: oklch(41.3% 0.114 37.3);
Tailwind
colors: {
  custom: {
    50: '#a96b56',
    500: '#7d2f17',
    950: '#000000',
  },
}
SCSS
$custom: #7d2f17;
$custom-light: #a96b56;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2f17",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 23
  },
  "hsl": {
    "h": 14.118,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41347,
    "c": 0.11441,
    "h": 37.3
  },
  "luminance": 0.06455
}

Semantic roles & 50–950 ramp

primary
#7D2F17
secondary
#3E97B2
accent
#C2EC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7D2F17

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

Preview Lab → · Contrast checker → · Palette generator →

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