#7D1A31#7D1A31

#7D1A31 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.3% C 0.133 H 12.9°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#7D1A31
RGBrgb(125, 26, 49)
HSLhsl(346, 66%, 30%)
HSVhsv(346, 79%, 49%)
CMYKcmyk(0%, 79.2%, 60.8%, 51%)
CIE-LABlab(27.63, 43.01, 12.01)
CIE-LCHlch(27.63, 44.65, 15.61°)
OKLaboklab(39.31% 0.1297 0.0298)
OKLCHoklch(39.31% 0.133 12.9)
XYZxyz(9.3822, 5.3219, 3.4383)
Luminance0.0532 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A31 #1A7D66
analogous
#7D1A62 #7D1A31 #7D351A
triadic
#7D1A31 #317D1A #1A317D
tetradic
#7D1A31 #627D1A #1A7D66 #351A7D
square
#7D1A31 #627D1A #1A7D66 #351A7D
split-complementary
#7D1A31 #1A7D35 #1A627D
monochromatic
#19050A #4A0F1D #7D1A31 #B02545 #D63B5F

Accessibility & contrast

On white

10.17
#7D1A31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7D1A31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1A31
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A31#FFFFFF#000000##FFFFFF
##7D1A311.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353431
Deuteranopia (green-blind)
#4F492E
Tritanopia (blue-blind)
#890024
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7d1a31;
/* rgb */ color: rgb(125, 26, 49);
/* oklch */ color: oklch(39.3% 0.133 12.9);
Tailwind
colors: {
  custom: {
    50: '#a96168',
    500: '#7d1a31',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a31;
$custom-light: #a96168;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a31",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 49
  },
  "hsl": {
    "h": 346.061,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39307,
    "c": 0.13303,
    "h": 12.9
  },
  "luminance": 0.05321
}

Semantic roles & 50–950 ramp

primary
#7D1A31
secondary
#42B197
accent
#E9C13F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #7D1A31

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

Preview Lab → · Contrast checker → · Palette generator →

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