#7D1F23#7D1F23

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

Color values

HEX#7D1F23
RGBrgb(125, 31, 35)
HSLhsl(357, 60%, 31%)
HSVhsv(357, 75%, 49%)
CMYKcmyk(0%, 75.2%, 72%, 51%)
CIE-LABlab(28.01, 40.29, 21.77)
CIE-LCHlch(28.01, 45.79, 28.39°)
OKLaboklab(39.5% 0.118 0.0505)
OKLCHoklch(39.5% 0.128 23.2)
XYZxyz(9.2518, 5.4627, 2.1570)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F23 #1F7D79
analogous
#7D1F52 #7D1F23 #7D4A1F
triadic
#7D1F23 #237D1F #1F237D
tetradic
#7D1F23 #527D1F #1F7D79 #4A1F7D
square
#7D1F23 #527D1F #1F7D79 #4A1F7D
split-complementary
#7D1F23 #1F7D4A #1F527D
monochromatic
#1B0708 #4C1315 #7D1F23 #AE2B31 #D1454B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D1F23#FFFFFF#000000##FFFFFF
##7D1F231.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)
#3A3522
Deuteranopia (green-blind)
#514920
Tritanopia (blue-blind)
#8A0021
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1f23;
/* rgb */ color: rgb(125, 31, 35);
/* oklch */ color: oklch(39.5% 0.128 23.2);
Tailwind
colors: {
  custom: {
    50: '#aa625e',
    500: '#7d1f23',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f23;
$custom-light: #aa625e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f23",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 35
  },
  "hsl": {
    "h": 357.447,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39502,
    "c": 0.1283,
    "h": 23.2
  },
  "luminance": 0.05461
}

Semantic roles & 50–950 ramp

primary
#7D1F23
secondary
#48B0AC
accent
#E3DD44
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7D1F23

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

Preview Lab → · Contrast checker → · Palette generator →

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