#7D1B14#7D1B14

#7D1B14 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.134 H 28.9°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#7D1B14
RGBrgb(125, 27, 20)
HSLhsl(4, 72%, 28%)
HSVhsv(4, 84%, 49%)
CMYKcmyk(0%, 78.4%, 84%, 51%)
CIE-LABlab(27.29, 41.12, 30.22)
CIE-LCHlch(27.29, 51.04, 36.31°)
OKLaboklab(38.9% 0.1172 0.0648)
OKLCHoklch(38.9% 0.134 28.9)
XYZxyz(8.9767, 5.1958, 1.1919)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1B14 #14767D
analogous
#7D1441 #7D1B14 #7D4F14
triadic
#7D1B14 #147D1B #1B147D
tetradic
#7D1B14 #417D14 #14767D #4F147D
square
#7D1B14 #417D14 #14767D #4F147D
split-complementary
#7D1B14 #147D4F #14417D
monochromatic
#1A0604 #48100C #7D1B14 #B2261C #DE3A2E

Accessibility & contrast

On white

10.30
#7D1B14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7D1B14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1B14
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1B14#FFFFFF#000000##FFFFFF
##7D1B141.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393312
Deuteranopia (green-blind)
#51480F
Tritanopia (blue-blind)
#8A001B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d1b14;
/* rgb */ color: rgb(125, 27, 20);
/* oklch */ color: oklch(38.9% 0.134 28.9);
Tailwind
colors: {
  custom: {
    50: '#ab6052',
    500: '#7d1b14',
    950: '#000000',
  },
}
SCSS
$custom: #7d1b14;
$custom-light: #ab6052;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1b14",
  "rgb": {
    "r": 125,
    "g": 27,
    "b": 20
  },
  "hsl": {
    "h": 4,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38897,
    "c": 0.13396,
    "h": 28.9
  },
  "luminance": 0.05194
}

Semantic roles & 50–950 ramp

primary
#7D1B14
secondary
#3AAAB2
accent
#E3EF39
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7D1B14

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

Preview Lab → · Contrast checker → · Palette generator →

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