#7D1F33#7D1F33

#7D1F33 is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.8% C 0.128 H 13.1°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#7D1F33
RGBrgb(125, 31, 51)
HSLhsl(347, 60%, 31%)
HSVhsv(347, 75%, 49%)
CMYKcmyk(0%, 75.2%, 59.2%, 51%)
CIE-LABlab(28.33, 41.35, 11.61)
CIE-LCHlch(28.33, 42.95, 15.69°)
OKLaboklab(39.84% 0.1247 0.0289)
OKLCHoklch(39.84% 0.128 13.1)
XYZxyz(9.5459, 5.5803, 3.7058)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F33 #1F7D69
analogous
#7D1F62 #7D1F33 #7D3A1F
triadic
#7D1F33 #337D1F #1F337D
tetradic
#7D1F33 #627D1F #1F7D69 #3A1F7D
square
#7D1F33 #627D1F #1F7D69 #3A1F7D
split-complementary
#7D1F33 #1F7D3A #1F627D
monochromatic
#1B070B #4C131F #7D1F33 #AE2B47 #D14563

Accessibility & contrast

On white

9.93
#7D1F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7D1F33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1F33
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F33#FFFFFF#000000##FFFFFF
##7D1F331.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373633
Deuteranopia (green-blind)
#504A31
Tritanopia (blue-blind)
#890527
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d1f33;
/* rgb */ color: rgb(125, 31, 51);
/* oklch */ color: oklch(39.8% 0.128 13.1);
Tailwind
colors: {
  custom: {
    50: '#a8636a',
    500: '#7d1f33',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f33;
$custom-light: #a8636a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f33",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 51
  },
  "hsl": {
    "h": 347.234,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39837,
    "c": 0.12799,
    "h": 13.1
  },
  "luminance": 0.05579
}

Semantic roles & 50–950 ramp

primary
#7D1F33
secondary
#48B09A
accent
#E3C244
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7D1F33

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

Preview Lab → · Contrast checker → · Palette generator →

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