#7D1F31#7D1F31

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

Color values

HEX#7D1F31
RGBrgb(125, 31, 49)
HSLhsl(349, 60%, 31%)
HSVhsv(349, 75%, 49%)
CMYKcmyk(0%, 75.2%, 60.8%, 51%)
CIE-LABlab(28.28, 41.19, 12.89)
CIE-LCHlch(28.28, 43.16, 17.37°)
OKLaboklab(39.79% 0.1238 0.0318)
OKLCHoklch(39.79% 0.128 14.4)
XYZxyz(9.5027, 5.5631, 3.4785)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F31 #1F7D6B
analogous
#7D1F60 #7D1F31 #7D3C1F
triadic
#7D1F31 #317D1F #1F317D
tetradic
#7D1F31 #607D1F #1F7D6B #3C1F7D
square
#7D1F31 #607D1F #1F7D6B #3C1F7D
split-complementary
#7D1F31 #1F7D3C #1F607D
monochromatic
#1B070B #4C131E #7D1F31 #AE2B44 #D14560

Accessibility & contrast

On white

9.94
#7D1F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7D1F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1F31
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F31#FFFFFF#000000##FFFFFF
##7D1F311.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383631
Deuteranopia (green-blind)
#504A2F
Tritanopia (blue-blind)
#890426
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d1f31;
/* rgb */ color: rgb(125, 31, 49);
/* oklch */ color: oklch(39.8% 0.128 14.4);
Tailwind
colors: {
  custom: {
    50: '#a86368',
    500: '#7d1f31',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f31;
$custom-light: #a86368;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f31",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 49
  },
  "hsl": {
    "h": 348.511,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39788,
    "c": 0.12785,
    "h": 14.4
  },
  "luminance": 0.05562
}

Semantic roles & 50–950 ramp

primary
#7D1F31
secondary
#48B09C
accent
#E3C544
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7D1F31

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

Preview Lab → · Contrast checker → · Palette generator →

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