#7D1C28#7D1C28

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

Color values

HEX#7D1C28
RGBrgb(125, 28, 40)
HSLhsl(353, 63%, 30%)
HSVhsv(353, 78%, 49%)
CMYKcmyk(0%, 77.6%, 68%, 51%)
CIE-LABlab(27.70, 41.70, 18.11)
CIE-LCHlch(27.70, 45.46, 23.47°)
OKLaboklab(39.29% 0.1236 0.043)
OKLCHoklch(39.29% 0.131 19.2)
XYZxyz(9.2567, 5.3451, 2.5514)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C28 #1C7D71
analogous
#7D1C59 #7D1C28 #7D401C
triadic
#7D1C28 #287D1C #1C287D
tetradic
#7D1C28 #597D1C #1C7D71 #401C7D
square
#7D1C28 #597D1C #1C7D71 #401C7D
split-complementary
#7D1C28 #1C7D40 #1C597D
monochromatic
#190608 #4B1118 #7D1C28 #AF2738 #D43F52

Accessibility & contrast

On white

10.15
#7D1C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7D1C28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1C28
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C28#FFFFFF#000000##FFFFFF
##7D1C281.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383428
Deuteranopia (green-blind)
#504925
Tritanopia (blue-blind)
#8A0021
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7d1c28;
/* rgb */ color: rgb(125, 28, 40);
/* oklch */ color: oklch(39.3% 0.131 19.2);
Tailwind
colors: {
  custom: {
    50: '#a96161',
    500: '#7d1c28',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c28;
$custom-light: #a96161;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c28",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 40
  },
  "hsl": {
    "h": 352.577,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.39293,
    "c": 0.13088,
    "h": 19.2
  },
  "luminance": 0.05344
}

Semantic roles & 50–950 ramp

primary
#7D1C28
secondary
#44B1A3
accent
#E6D241
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110505
muted
#807A79

Preview Lab

Preview with #7D1C28

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

Preview Lab → · Contrast checker → · Palette generator →

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