#7D1528#7D1528

#7D1528 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.7% C 0.137 H 17.2°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#7D1528
RGBrgb(125, 21, 40)
HSLhsl(349, 71%, 29%)
HSVhsv(349, 83%, 49%)
CMYKcmyk(0%, 83.2%, 68%, 51%)
CIE-LABlab(26.88, 43.99, 17.07)
CIE-LCHlch(26.88, 47.19, 21.20°)
OKLaboklab(38.69% 0.131 0.0407)
OKLCHoklch(38.69% 0.137 17.2)
XYZxyz(9.1096, 5.0509, 2.5023)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1528 #157D6A
analogous
#7D155C #7D1528 #7D3615
triadic
#7D1528 #287D15 #15287D
tetradic
#7D1528 #5C7D15 #157D6A #36157D
square
#7D1528 #5C7D15 #157D6A #36157D
split-complementary
#7D1528 #157D36 #155C7D
monochromatic
#1A0408 #490C17 #7D1528 #B11E39 #DC3050

Accessibility & contrast

On white

10.45
#7D1528 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7D1528 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1528
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1528#FFFFFF#000000##FFFFFF
##7D15281.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343228
Deuteranopia (green-blind)
#4E4725
Tritanopia (blue-blind)
#8A001D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d1528;
/* rgb */ color: rgb(125, 21, 40);
/* oklch */ color: oklch(38.7% 0.137 17.2);
Tailwind
colors: {
  custom: {
    50: '#aa5e61',
    500: '#7d1528',
    950: '#000000',
  },
}
SCSS
$custom: #7d1528;
$custom-light: #aa5e61;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1528",
  "rgb": {
    "r": 125,
    "g": 21,
    "b": 40
  },
  "hsl": {
    "h": 349.038,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38688,
    "c": 0.13714,
    "h": 17.2
  },
  "luminance": 0.0505
}

Semantic roles & 50–950 ramp

primary
#7D1528
secondary
#3CB29D
accent
#EECD3A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7D1528

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

Preview Lab → · Contrast checker → · Palette generator →

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