#7D1927#7D1927

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

Color values

HEX#7D1927
RGBrgb(125, 25, 39)
HSLhsl(352, 67%, 29%)
HSVhsv(352, 80%, 49%)
CMYKcmyk(0%, 80%, 68.8%, 51%)
CIE-LABlab(27.31, 42.68, 18.28)
CIE-LCHlch(27.31, 46.43, 23.18°)
OKLaboklab(39% 0.1265 0.0433)
OKLCHoklch(39% 0.134 18.9)
XYZxyz(9.1723, 5.2031, 2.4404)
Luminance0.0520 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1927 #197D6F
analogous
#7D1959 #7D1927 #7D3D19
triadic
#7D1927 #277D19 #19277D
tetradic
#7D1927 #597D19 #197D6F #3D197D
square
#7D1927 #597D19 #197D6F #3D197D
split-complementary
#7D1927 #197D3D #19597D
monochromatic
#1A0508 #4A0F17 #7D1927 #B02337 #D7394F

Accessibility & contrast

On white

10.29
#7D1927 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1927
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1927#FFFFFF#000000##FFFFFF
##7D19271.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363327
Deuteranopia (green-blind)
#4F4824
Tritanopia (blue-blind)
#8A001F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d1927;
/* rgb */ color: rgb(125, 25, 39);
/* oklch */ color: oklch(39.0% 0.134 18.9);
Tailwind
colors: {
  custom: {
    50: '#a96060',
    500: '#7d1927',
    950: '#000000',
  },
}
SCSS
$custom: #7d1927;
$custom-light: #a96060;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1927",
  "rgb": {
    "r": 125,
    "g": 25,
    "b": 39
  },
  "hsl": {
    "h": 351.6,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38997,
    "c": 0.13371,
    "h": 18.9
  },
  "luminance": 0.05202
}

Semantic roles & 50–950 ramp

primary
#7D1927
secondary
#40B1A2
accent
#EAD23E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7D1927

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

Preview Lab → · Contrast checker → · Palette generator →

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