#7D1F34#7D1F34

#7D1F34 is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.9% C 0.128 H 12.4°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#7D1F34
RGBrgb(125, 31, 52)
HSLhsl(347, 60%, 31%)
HSVhsv(347, 75%, 49%)
CMYKcmyk(0%, 75.2%, 58.4%, 51%)
CIE-LABlab(28.35, 41.43, 10.98)
CIE-LCHlch(28.35, 42.85, 14.84°)
OKLaboklab(39.86% 0.1251 0.0275)
OKLCHoklch(39.86% 0.128 12.4)
XYZxyz(9.5682, 5.5892, 3.8231)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F34 #1F7D68
analogous
#7D1F63 #7D1F34 #7D391F
triadic
#7D1F34 #347D1F #1F347D
tetradic
#7D1F34 #637D1F #1F7D68 #391F7D
square
#7D1F34 #637D1F #1F7D68 #391F7D
split-complementary
#7D1F34 #1F7D39 #1F637D
monochromatic
#1B070B #4C1320 #7D1F34 #AE2B48 #D14565

Accessibility & contrast

On white

9.92
#7D1F34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7D1F34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1F34
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F34#FFFFFF#000000##FFFFFF
##7D1F341.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373734
Deuteranopia (green-blind)
#504A32
Tritanopia (blue-blind)
#890628
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d1f34;
/* rgb */ color: rgb(125, 31, 52);
/* oklch */ color: oklch(39.9% 0.128 12.4);
Tailwind
colors: {
  custom: {
    50: '#a8636b',
    500: '#7d1f34',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f34;
$custom-light: #a8636b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f34",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 52
  },
  "hsl": {
    "h": 346.596,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39862,
    "c": 0.12808,
    "h": 12.4
  },
  "luminance": 0.05588
}

Semantic roles & 50–950 ramp

primary
#7D1F34
secondary
#48B099
accent
#E3C044
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7D1F34

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

Preview Lab → · Contrast checker → · Palette generator →

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