#7D1C27#7D1C27

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

Color values

HEX#7D1C27
RGBrgb(125, 28, 39)
HSLhsl(353, 63%, 30%)
HSVhsv(353, 78%, 49%)
CMYKcmyk(0%, 77.6%, 68.8%, 51%)
CIE-LABlab(27.68, 41.64, 18.74)
CIE-LCHlch(27.68, 45.66, 24.24°)
OKLaboklab(39.27% 0.1232 0.0443)
OKLCHoklch(39.27% 0.131 19.8)
XYZxyz(9.2399, 5.3384, 2.4629)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C27 #1C7D72
analogous
#7D1C57 #7D1C27 #7D421C
triadic
#7D1C27 #277D1C #1C277D
tetradic
#7D1C27 #577D1C #1C7D72 #421C7D
square
#7D1C27 #577D1C #1C7D72 #421C7D
split-complementary
#7D1C27 #1C7D42 #1C577D
monochromatic
#190608 #4B1117 #7D1C27 #AF2737 #D43F50

Accessibility & contrast

On white

10.16
#7D1C27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1C27
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C27#FFFFFF#000000##FFFFFF
##7D1C271.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d1c27;
/* rgb */ color: rgb(125, 28, 39);
/* oklch */ color: oklch(39.3% 0.131 19.8);
Tailwind
colors: {
  custom: {
    50: '#a96161',
    500: '#7d1c27',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c27;
$custom-light: #a96161;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c27",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 39
  },
  "hsl": {
    "h": 353.196,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.39273,
    "c": 0.13092,
    "h": 19.8
  },
  "luminance": 0.05337
}

Semantic roles & 50–950 ramp

primary
#7D1C27
secondary
#44B1A4
accent
#E6D441
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110505
muted
#807A79

Preview Lab

Preview with #7D1C27

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

Preview Lab → · Contrast checker → · Palette generator →

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