#7D1F18#7D1F18

#7D1F18 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.3% C 0.130 H 28.7°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#7D1F18
RGBrgb(125, 31, 24)
HSLhsl(4, 68%, 29%)
HSVhsv(4, 81%, 49%)
CMYKcmyk(0%, 75.2%, 80.8%, 51%)
CIE-LABlab(27.86, 39.78, 28.47)
CIE-LCHlch(27.86, 48.91, 35.59°)
OKLaboklab(39.34% 0.1139 0.0624)
OKLCHoklch(39.34% 0.13 28.7)
XYZxyz(9.1134, 5.4073, 1.4278)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F18 #18767D
analogous
#7D1844 #7D1F18 #7D5218
triadic
#7D1F18 #187D1F #1F187D
tetradic
#7D1F18 #447D18 #18767D #52187D
square
#7D1F18 #447D18 #18767D #52187D
split-complementary
#7D1F18 #187D52 #18447D
monochromatic
#1A0605 #4A120E #7D1F18 #B02C22 #D94237

Accessibility & contrast

On white

10.09
#7D1F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7D1F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1F18
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F18#FFFFFF#000000##FFFFFF
##7D1F181.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3516
Deuteranopia (green-blind)
#524914
Tritanopia (blue-blind)
#8A001E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1f18;
/* rgb */ color: rgb(125, 31, 24);
/* oklch */ color: oklch(39.3% 0.130 28.7);
Tailwind
colors: {
  custom: {
    50: '#aa6255',
    500: '#7d1f18',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f18;
$custom-light: #aa6255;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f18",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 24
  },
  "hsl": {
    "h": 4.158,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39343,
    "c": 0.12983,
    "h": 28.7
  },
  "luminance": 0.05406
}

Semantic roles & 50–950 ramp

primary
#7D1F18
secondary
#3FAAB2
accent
#DFEB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110503
muted
#807A78

Preview Lab

Preview with #7D1F18

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

Preview Lab → · Contrast checker → · Palette generator →

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