#7D1F22#7D1F22

#7D1F22 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.5% C 0.128 H 23.7°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#7D1F22
RGBrgb(125, 31, 34)
HSLhsl(358, 60%, 31%)
HSVhsv(358, 75%, 49%)
CMYKcmyk(0%, 75.2%, 72.8%, 51%)
CIE-LABlab(28.00, 40.23, 22.40)
CIE-LCHlch(28.00, 46.05, 29.10°)
OKLaboklab(39.49% 0.1176 0.0516)
OKLCHoklch(39.49% 0.128 23.7)
XYZxyz(9.2372, 5.4568, 2.0799)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F22 #1F7D7A
analogous
#7D1F51 #7D1F22 #7D4B1F
triadic
#7D1F22 #227D1F #1F227D
tetradic
#7D1F22 #517D1F #1F7D7A #4B1F7D
square
#7D1F22 #517D1F #1F7D7A #4B1F7D
split-complementary
#7D1F22 #1F7D4B #1F517D
monochromatic
#1B0707 #4C1315 #7D1F22 #AE2B2F #D1454A

Accessibility & contrast

On white

10.04
#7D1F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7D1F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1F22
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F22#FFFFFF#000000##FFFFFF
##7D1F221.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3521
Deuteranopia (green-blind)
#52491F
Tritanopia (blue-blind)
#8A0021
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1f22;
/* rgb */ color: rgb(125, 31, 34);
/* oklch */ color: oklch(39.5% 0.128 23.7);
Tailwind
colors: {
  custom: {
    50: '#aa625d',
    500: '#7d1f22',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f22;
$custom-light: #aa625d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f22",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 34
  },
  "hsl": {
    "h": 358.085,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39485,
    "c": 0.12841,
    "h": 23.7
  },
  "luminance": 0.05455
}

Semantic roles & 50–950 ramp

primary
#7D1F22
secondary
#48B0AD
accent
#E3DE44
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7D1F22

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

Preview Lab → · Contrast checker → · Palette generator →

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