#7D1F27#7D1F27

#7D1F27 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.6% C 0.128 H 20.8°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#7D1F27
RGBrgb(125, 31, 39)
HSLhsl(355, 60%, 31%)
HSVhsv(355, 75%, 49%)
CMYKcmyk(0%, 75.2%, 68.8%, 51%)
CIE-LABlab(28.08, 40.51, 19.25)
CIE-LCHlch(28.08, 44.86, 25.41°)
OKLaboklab(39.57% 0.1196 0.0455)
OKLCHoklch(39.57% 0.128 20.8)
XYZxyz(9.3146, 5.4878, 2.4878)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F27 #1F7D75
analogous
#7D1F56 #7D1F27 #7D461F
triadic
#7D1F27 #277D1F #1F277D
tetradic
#7D1F27 #567D1F #1F7D75 #461F7D
square
#7D1F27 #567D1F #1F7D75 #461F7D
split-complementary
#7D1F27 #1F7D46 #1F567D
monochromatic
#1B0708 #4C1318 #7D1F27 #AE2B36 #D14551

Accessibility & contrast

On white

10.01
#7D1F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7D1F27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1F27
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F27#FFFFFF#000000##FFFFFF
##7D1F271.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393627
Deuteranopia (green-blind)
#514A24
Tritanopia (blue-blind)
#8A0023
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1f27;
/* rgb */ color: rgb(125, 31, 39);
/* oklch */ color: oklch(39.6% 0.128 20.8);
Tailwind
colors: {
  custom: {
    50: '#a96261',
    500: '#7d1f27',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f27;
$custom-light: #a96261;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f27",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 39
  },
  "hsl": {
    "h": 354.894,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39574,
    "c": 0.12796,
    "h": 20.8
  },
  "luminance": 0.05486
}

Semantic roles & 50–950 ramp

primary
#7D1F27
secondary
#48B0A7
accent
#E3D644
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110605
muted
#807A79

Preview Lab

Preview with #7D1F27

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

Preview Lab → · Contrast checker → · Palette generator →

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