#7C1B2F#7C1B2F

#7C1B2F is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.131 H 14.3°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#7C1B2F
RGBrgb(124, 27, 47)
HSLhsl(348, 64%, 30%)
HSVhsv(348, 78%, 49%)
CMYKcmyk(0%, 78.2%, 62.1%, 51.4%)
CIE-LABlab(27.51, 42.20, 13.15)
CIE-LCHlch(27.51, 44.20, 17.31°)
OKLaboklab(39.16% 0.1268 0.0323)
OKLCHoklch(39.16% 0.131 14.3)
XYZxyz(9.2181, 5.2755, 3.2217)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1B2F #1B7C68
analogous
#7C1B60 #7C1B2F #7C381B
triadic
#7C1B2F #2F7C1B #1B2F7C
tetradic
#7C1B2F #607C1B #1B7C68 #381B7C
square
#7C1B2F #607C1B #1B7C68 #381B7C
split-complementary
#7C1B2F #1B7C38 #1B607C
monochromatic
#19050A #4A101C #7C1B2F #AE2642 #D53D5C

Accessibility & contrast

On white

10.22
#7C1B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7C1B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1B2F
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1B2F#FFFFFF#000000##FFFFFF
##7C1B2F1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36342F
Deuteranopia (green-blind)
#4E482C
Tritanopia (blue-blind)
#880023
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7c1b2f;
/* rgb */ color: rgb(124, 27, 47);
/* oklch */ color: oklch(39.2% 0.131 14.3);
Tailwind
colors: {
  custom: {
    50: '#a86167',
    500: '#7c1b2f',
    950: '#000000',
  },
}
SCSS
$custom: #7c1b2f;
$custom-light: #a86167;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1b2f",
  "rgb": {
    "r": 124,
    "g": 27,
    "b": 47
  },
  "hsl": {
    "h": 347.629,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39161,
    "c": 0.13087,
    "h": 14.3
  },
  "luminance": 0.05274
}

Semantic roles & 50–950 ramp

primary
#7C1B2F
secondary
#43B099
accent
#E7C541
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #7C1B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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