#7D1F28#7D1F28

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

Color values

HEX#7D1F28
RGBrgb(125, 31, 40)
HSLhsl(354, 60%, 31%)
HSVhsv(354, 75%, 49%)
CMYKcmyk(0%, 75.2%, 68%, 51%)
CIE-LABlab(28.10, 40.58, 18.62)
CIE-LCHlch(28.10, 44.64, 24.65°)
OKLaboklab(39.59% 0.12 0.0442)
OKLCHoklch(39.59% 0.128 20.2)
XYZxyz(9.3314, 5.4945, 2.5763)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F28 #1F7D74
analogous
#7D1F57 #7D1F28 #7D451F
triadic
#7D1F28 #287D1F #1F287D
tetradic
#7D1F28 #577D1F #1F7D74 #451F7D
square
#7D1F28 #577D1F #1F7D74 #451F7D
split-complementary
#7D1F28 #1F7D45 #1F577D
monochromatic
#1B0709 #4C1318 #7D1F28 #AE2B38 #D14553

Accessibility & contrast

On white

10.01
#7D1F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7D1F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1F28
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F28#FFFFFF#000000##FFFFFF
##7D1F281.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393628
Deuteranopia (green-blind)
#514A25
Tritanopia (blue-blind)
#8A0023
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1f28;
/* rgb */ color: rgb(125, 31, 40);
/* oklch */ color: oklch(39.6% 0.128 20.2);
Tailwind
colors: {
  custom: {
    50: '#a96261',
    500: '#7d1f28',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f28;
$custom-light: #a96261;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f28",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 40
  },
  "hsl": {
    "h": 354.255,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39593,
    "c": 0.12789,
    "h": 20.2
  },
  "luminance": 0.05493
}

Semantic roles & 50–950 ramp

primary
#7D1F28
secondary
#48B0A6
accent
#E3D444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110605
muted
#807A79

Preview Lab

Preview with #7D1F28

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

Preview Lab → · Contrast checker → · Palette generator →

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