#7C1B2E#7C1B2E

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

Color values

HEX#7C1B2E
RGBrgb(124, 27, 46)
HSLhsl(348, 64%, 30%)
HSVhsv(348, 78%, 49%)
CMYKcmyk(0%, 78.2%, 62.9%, 51.4%)
CIE-LABlab(27.48, 42.13, 13.79)
CIE-LCHlch(27.48, 44.33, 18.13°)
OKLaboklab(39.14% 0.1264 0.0337)
OKLCHoklch(39.14% 0.131 14.9)
XYZxyz(9.1982, 5.2676, 3.1166)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1B2E #1B7C69
analogous
#7C1B5F #7C1B2E #7C381B
triadic
#7C1B2E #2E7C1B #1B2E7C
tetradic
#7C1B2E #5F7C1B #1B7C69 #381B7C
square
#7C1B2E #5F7C1B #1B7C69 #381B7C
split-complementary
#7C1B2E #1B7C38 #1B5F7C
monochromatic
#190509 #4A101B #7C1B2E #AE2641 #D53D5A

Accessibility & contrast

On white

10.23
#7C1B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1B2E
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1B2E#FFFFFF#000000##FFFFFF
##7C1B2E1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c1b2e;
/* rgb */ color: rgb(124, 27, 46);
/* oklch */ color: oklch(39.1% 0.131 14.9);
Tailwind
colors: {
  custom: {
    50: '#a86166',
    500: '#7c1b2e',
    950: '#000000',
  },
}
SCSS
$custom: #7c1b2e;
$custom-light: #a86166;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1b2e",
  "rgb": {
    "r": 124,
    "g": 27,
    "b": 46
  },
  "hsl": {
    "h": 348.247,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39137,
    "c": 0.13083,
    "h": 14.9
  },
  "luminance": 0.05266
}

Semantic roles & 50–950 ramp

primary
#7C1B2E
secondary
#43B09B
accent
#E7C741
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110505
muted
#807A7A

Preview Lab

Preview with #7C1B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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