#7D1B1F#7D1B1F

#7D1B1F is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.133 H 23.9°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#7D1B1F
RGBrgb(125, 27, 31)
HSLhsl(358, 64%, 30%)
HSVhsv(358, 78%, 49%)
CMYKcmyk(0%, 78.4%, 75.2%, 51%)
CIE-LABlab(27.42, 41.57, 23.64)
CIE-LCHlch(27.42, 47.82, 29.63°)
OKLaboklab(39.04% 0.1211 0.0538)
OKLCHoklch(39.04% 0.133 23.9)
XYZxyz(9.0977, 5.2442, 1.8292)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1B1F #1B7D79
analogous
#7D1B50 #7D1B1F #7D481B
triadic
#7D1B1F #1F7D1B #1B1F7D
tetradic
#7D1B1F #507D1B #1B7D79 #481B7D
square
#7D1B1F #507D1B #1B7D79 #481B7D
split-complementary
#7D1B1F #1B7D48 #1B507D
monochromatic
#190506 #4B1013 #7D1B1F #AF262B #D53D43

Accessibility & contrast

On white

10.25
#7D1B1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7D1B1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1B1F
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1B1F#FFFFFF#000000##FFFFFF
##7D1B1F1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331E
Deuteranopia (green-blind)
#51481C
Tritanopia (blue-blind)
#8A001E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7d1b1f;
/* rgb */ color: rgb(125, 27, 31);
/* oklch */ color: oklch(39.0% 0.133 23.9);
Tailwind
colors: {
  custom: {
    50: '#aa605a',
    500: '#7d1b1f',
    950: '#000000',
  },
}
SCSS
$custom: #7d1b1f;
$custom-light: #aa605a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1b1f",
  "rgb": {
    "r": 125,
    "g": 27,
    "b": 31
  },
  "hsl": {
    "h": 357.551,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3904,
    "c": 0.1325,
    "h": 23.9
  },
  "luminance": 0.05243
}

Semantic roles & 50–950 ramp

primary
#7D1B1F
secondary
#43B1AC
accent
#E7E140
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7D1B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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