#7D1A23#7D1A23

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

Color values

HEX#7D1A23
RGBrgb(125, 26, 35)
HSLhsl(355, 66%, 30%)
HSVhsv(355, 79%, 49%)
CMYKcmyk(0%, 79.2%, 72%, 51%)
CIE-LABlab(27.36, 42.12, 20.98)
CIE-LCHlch(27.36, 47.05, 26.47°)
OKLaboklab(39.01% 0.1238 0.0487)
OKLCHoklch(39.01% 0.133 21.5)
XYZxyz(9.1312, 5.2215, 2.1168)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A23 #1A7D74
analogous
#7D1A55 #7D1A23 #7D421A
triadic
#7D1A23 #237D1A #1A237D
tetradic
#7D1A23 #557D1A #1A7D74 #421A7D
square
#7D1A23 #557D1A #1A7D74 #421A7D
split-complementary
#7D1A23 #1A7D42 #1A557D
monochromatic
#190507 #4A0F15 #7D1A23 #B02531 #D63B49

Accessibility & contrast

On white

10.27
#7D1A23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1A23
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A23#FFFFFF#000000##FFFFFF
##7D1A231.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373322
Deuteranopia (green-blind)
#504820
Tritanopia (blue-blind)
#8A001E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7d1a23;
/* rgb */ color: rgb(125, 26, 35);
/* oklch */ color: oklch(39.0% 0.133 21.5);
Tailwind
colors: {
  custom: {
    50: '#aa605d',
    500: '#7d1a23',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a23;
$custom-light: #aa605d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a23",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 35
  },
  "hsl": {
    "h": 354.545,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39013,
    "c": 0.13303,
    "h": 21.5
  },
  "luminance": 0.0522
}

Semantic roles & 50–950 ramp

primary
#7D1A23
secondary
#42B1A7
accent
#E9D93F
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7D1A23

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

Preview Lab → · Contrast checker → · Palette generator →

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