#7D1F2C#7D1F2C

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

Color values

HEX#7D1F2C
RGBrgb(125, 31, 44)
HSLhsl(352, 60%, 31%)
HSVhsv(352, 75%, 49%)
CMYKcmyk(0%, 75.2%, 64.8%, 51%)
CIE-LABlab(28.18, 40.83, 16.07)
CIE-LCHlch(28.18, 43.88, 21.49°)
OKLaboklab(39.67% 0.1217 0.0388)
OKLCHoklch(39.67% 0.128 17.7)
XYZxyz(9.4030, 5.5232, 2.9533)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F2C #1F7D70
analogous
#7D1F5B #7D1F2C #7D411F
triadic
#7D1F2C #2C7D1F #1F2C7D
tetradic
#7D1F2C #5B7D1F #1F7D70 #411F7D
square
#7D1F2C #5B7D1F #1F7D70 #411F7D
split-complementary
#7D1F2C #1F7D41 #1F5B7D
monochromatic
#1B0709 #4C131B #7D1F2C #AE2B3D #D14559

Accessibility & contrast

On white

9.98
#7D1F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1F2C
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F2C#FFFFFF#000000##FFFFFF
##7D1F2C1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39362C
Deuteranopia (green-blind)
#514A29
Tritanopia (blue-blind)
#890125
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1f2c;
/* rgb */ color: rgb(125, 31, 44);
/* oklch */ color: oklch(39.7% 0.128 17.7);
Tailwind
colors: {
  custom: {
    50: '#a96364',
    500: '#7d1f2c',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f2c;
$custom-light: #a96364;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f2c",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 44
  },
  "hsl": {
    "h": 351.702,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39675,
    "c": 0.12775,
    "h": 17.7
  },
  "luminance": 0.05522
}

Semantic roles & 50–950 ramp

primary
#7D1F2C
secondary
#48B0A2
accent
#E3CD44
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7D1F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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