#7D1A2F#7D1A2F

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

Color values

HEX#7D1A2F
RGBrgb(125, 26, 47)
HSLhsl(347, 66%, 30%)
HSVhsv(347, 79%, 49%)
CMYKcmyk(0%, 79.2%, 62.4%, 51%)
CIE-LABlab(27.59, 42.86, 13.30)
CIE-LCHlch(27.59, 44.88, 17.24°)
OKLaboklab(39.26% 0.1288 0.0326)
OKLCHoklch(39.26% 0.133 14.2)
XYZxyz(9.3409, 5.3054, 3.2210)
Luminance0.0530 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A2F #1A7D68
analogous
#7D1A61 #7D1A2F #7D371A
triadic
#7D1A2F #2F7D1A #1A2F7D
tetradic
#7D1A2F #617D1A #1A7D68 #371A7D
square
#7D1A2F #617D1A #1A7D68 #371A7D
split-complementary
#7D1A2F #1A7D37 #1A617D
monochromatic
#19050A #4A0F1C #7D1A2F #B02542 #D63B5C

Accessibility & contrast

On white

10.19
#7D1A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1A2F
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A2F#FFFFFF#000000##FFFFFF
##7D1A2F1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36342F
Deuteranopia (green-blind)
#4F492C
Tritanopia (blue-blind)
#890023
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7d1a2f;
/* rgb */ color: rgb(125, 26, 47);
/* oklch */ color: oklch(39.3% 0.133 14.2);
Tailwind
colors: {
  custom: {
    50: '#a96167',
    500: '#7d1a2f',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a2f;
$custom-light: #a96167;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a2f",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 47
  },
  "hsl": {
    "h": 347.273,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39258,
    "c": 0.13289,
    "h": 14.2
  },
  "luminance": 0.05304
}

Semantic roles & 50–950 ramp

primary
#7D1A2F
secondary
#42B199
accent
#E9C53F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #7D1A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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