#7D2F18#7D2F18

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

Color values

HEX#7D2F18
RGBrgb(125, 47, 24)
HSLhsl(14, 68%, 29%)
HSVhsv(14, 81%, 49%)
CMYKcmyk(0%, 62.4%, 80.8%, 51%)
CIE-LABlab(30.55, 32.55, 31.23)
CIE-LCHlch(30.55, 45.11, 43.82°)
OKLaboklab(41.36% 0.0914 0.0684)
OKLCHoklch(41.36% 0.114 36.8)
XYZxyz(9.6399, 6.4603, 1.6033)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2F18 #18667D
analogous
#7D1834 #7D2F18 #7D6218
triadic
#7D2F18 #187D2F #2F187D
tetradic
#7D2F18 #347D18 #18667D #62187D
square
#7D2F18 #347D18 #18667D #62187D
split-complementary
#7D2F18 #187D62 #18347D
monochromatic
#1A0A05 #4A1C0E #7D2F18 #B04222 #D95C37

Accessibility & contrast

On white

9.16
#7D2F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2F18
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2F18#FFFFFF#000000##FFFFFF
##7D2F181.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d2f18;
/* rgb */ color: rgb(125, 47, 24);
/* oklch */ color: oklch(41.4% 0.114 36.8);
Tailwind
colors: {
  custom: {
    50: '#a96b56',
    500: '#7d2f18',
    950: '#000000',
  },
}
SCSS
$custom: #7d2f18;
$custom-light: #a96b56;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2f18",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 24
  },
  "hsl": {
    "h": 13.663,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41357,
    "c": 0.11414,
    "h": 36.8
  },
  "luminance": 0.06459
}

Semantic roles & 50–950 ramp

primary
#7D2F18
secondary
#3F98B2
accent
#C3EB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7D2F18

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

Preview Lab → · Contrast checker → · Palette generator →

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