#7D1818#7D1818

#7D1818 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.7% C 0.136 H 26.4°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#7D1818
RGBrgb(125, 24, 24)
HSLhsl(0, 68%, 29%)
HSVhsv(0, 81%, 49%)
CMYKcmyk(0%, 80.8%, 80.8%, 51%)
CIE-LABlab(26.96, 42.29, 27.52)
CIE-LCHlch(26.96, 50.45, 33.05°)
OKLaboklab(38.67% 0.1218 0.0603)
OKLCHoklch(38.67% 0.136 26.4)
XYZxyz(8.9500, 5.0806, 1.3734)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1818 #187D7D
analogous
#7D184B #7D1818 #7D4B18
triadic
#7D1818 #187D18 #18187D
tetradic
#7D1818 #4B7D18 #187D7D #4B187D
square
#7D1818 #4B7D18 #187D7D #4B187D
split-complementary
#7D1818 #187D4B #184B7D
monochromatic
#1A0505 #4A0E0E #7D1818 #B02222 #D93737

Accessibility & contrast

On white

10.42
#7D1818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7D1818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1818
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1818#FFFFFF#000000##FFFFFF
##7D18181.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383217
Deuteranopia (green-blind)
#504814
Tritanopia (blue-blind)
#8A001A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d1818;
/* rgb */ color: rgb(125, 24, 24);
/* oklch */ color: oklch(38.7% 0.136 26.4);
Tailwind
colors: {
  custom: {
    50: '#ab5f55',
    500: '#7d1818',
    950: '#000000',
  },
}
SCSS
$custom: #7d1818;
$custom-light: #ab5f55;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1818",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 24
  },
  "hsl": {
    "h": 0,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38671,
    "c": 0.13588,
    "h": 26.4
  },
  "luminance": 0.05079
}

Semantic roles & 50–950 ramp

primary
#7D1818
secondary
#3FB2B2
accent
#EBEB3D
background
#FBF5F5
surface
#F6EAE8
border
#D0C6C4
text
#120503
muted
#817978

Preview Lab

Preview with #7D1818

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

Preview Lab → · Contrast checker → · Palette generator →

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