#7D1517#7D1517

#7D1517 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.4% C 0.138 H 26.0°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#7D1517
RGBrgb(125, 21, 23)
HSLhsl(359, 71%, 29%)
HSVhsv(359, 83%, 49%)
CMYKcmyk(0%, 83.2%, 81.6%, 51%)
CIE-LABlab(26.62, 43.19, 27.77)
CIE-LCHlch(26.62, 51.34, 32.74°)
OKLaboklab(38.41% 0.1244 0.0606)
OKLCHoklch(38.41% 0.138 26)
XYZxyz(8.8814, 4.9596, 1.3001)
Luminance0.0496 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1517 #157D7B
analogous
#7D154B #7D1517 #7D4715
triadic
#7D1517 #177D15 #15177D
tetradic
#7D1517 #4B7D15 #157D7B #47157D
square
#7D1517 #4B7D15 #157D7B #47157D
split-complementary
#7D1517 #157D47 #154B7D
monochromatic
#1A0405 #490C0D #7D1517 #B11E21 #DC3033

Accessibility & contrast

On white

10.54
#7D1517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#7D1517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1517
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1517#FFFFFF#000000##FFFFFF
##7D15171.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363116
Deuteranopia (green-blind)
#504712
Tritanopia (blue-blind)
#8A0017
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7d1517;
/* rgb */ color: rgb(125, 21, 23);
/* oklch */ color: oklch(38.4% 0.138 26.0);
Tailwind
colors: {
  custom: {
    50: '#ab5e54',
    500: '#7d1517',
    950: '#000000',
  },
}
SCSS
$custom: #7d1517;
$custom-light: #ab5e54;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1517",
  "rgb": {
    "r": 125,
    "g": 21,
    "b": 23
  },
  "hsl": {
    "h": 358.846,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38412,
    "c": 0.13832,
    "h": 26
  },
  "luminance": 0.04958
}

Semantic roles & 50–950 ramp

primary
#7D1517
secondary
#3CB2B0
accent
#EEEB3A
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120503
muted
#817978

Preview Lab

Preview with #7D1517

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

Preview Lab → · Contrast checker → · Palette generator →

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