#7D2518#7D2518

#7D2518 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.0% C 0.124 H 31.3°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#7D2518
RGBrgb(125, 37, 24)
HSLhsl(8, 68%, 29%)
HSVhsv(8, 81%, 49%)
CMYKcmyk(0%, 70.4%, 80.8%, 51%)
CIE-LABlab(28.77, 37.29, 29.41)
CIE-LCHlch(28.77, 47.49, 38.27°)
OKLaboklab(40.02% 0.1061 0.0645)
OKLCHoklch(40.02% 0.124 31.3)
XYZxyz(9.2849, 5.7504, 1.4850)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2518 #18707D
analogous
#7D183E #7D2518 #7D5818
triadic
#7D2518 #187D25 #25187D
tetradic
#7D2518 #3E7D18 #18707D #58187D
square
#7D2518 #3E7D18 #18707D #58187D
split-complementary
#7D2518 #187D58 #183E7D
monochromatic
#1A0805 #4A160E #7D2518 #B03422 #D94C37

Accessibility & contrast

On white

9.77
#7D2518 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7D2518 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2518
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2518#FFFFFF#000000##FFFFFF
##7D25181.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3816
Deuteranopia (green-blind)
#544B14
Tritanopia (blue-blind)
#8A0823
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d2518;
/* rgb */ color: rgb(125, 37, 24);
/* oklch */ color: oklch(40.0% 0.124 31.3);
Tailwind
colors: {
  custom: {
    50: '#aa6556',
    500: '#7d2518',
    950: '#000000',
  },
}
SCSS
$custom: #7d2518;
$custom-light: #aa6556;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2518",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 24
  },
  "hsl": {
    "h": 7.723,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40023,
    "c": 0.12411,
    "h": 31.3
  },
  "luminance": 0.05749
}

Semantic roles & 50–950 ramp

primary
#7D2518
secondary
#3FA3B2
accent
#D4EB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7D2518

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

Preview Lab → · Contrast checker → · Palette generator →

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