#7D1823#7D1823

#7D1823 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.135 H 20.9°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#7D1823
RGBrgb(125, 24, 35)
HSLhsl(353, 68%, 29%)
HSVhsv(353, 81%, 49%)
CMYKcmyk(0%, 80.8%, 72%, 51%)
CIE-LABlab(27.12, 42.78, 20.69)
CIE-LCHlch(27.12, 47.52, 25.80°)
OKLaboklab(38.84% 0.1259 0.048)
OKLCHoklch(38.84% 0.135 20.9)
XYZxyz(9.0885, 5.1360, 2.1026)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1823 #187D72
analogous
#7D1856 #7D1823 #7D4018
triadic
#7D1823 #237D18 #18237D
tetradic
#7D1823 #567D18 #187D72 #40187D
square
#7D1823 #567D18 #187D72 #40187D
split-complementary
#7D1823 #187D40 #18567D
monochromatic
#1A0507 #4A0E15 #7D1823 #B02231 #D93748

Accessibility & contrast

On white

10.36
#7D1823 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7D1823 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1823
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1823#FFFFFF#000000##FFFFFF
##7D18231.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363223
Deuteranopia (green-blind)
#504820
Tritanopia (blue-blind)
#8A001D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d1823;
/* rgb */ color: rgb(125, 24, 35);
/* oklch */ color: oklch(38.8% 0.135 20.9);
Tailwind
colors: {
  custom: {
    50: '#aa5f5d',
    500: '#7d1823',
    950: '#000000',
  },
}
SCSS
$custom: #7d1823;
$custom-light: #aa5f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1823",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 35
  },
  "hsl": {
    "h": 353.465,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38836,
    "c": 0.13478,
    "h": 20.9
  },
  "luminance": 0.05135
}

Semantic roles & 50–950 ramp

primary
#7D1823
secondary
#3FB2A5
accent
#EBD83D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7D1823

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

Preview Lab → · Contrast checker → · Palette generator →

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