#7C1B2D#7C1B2D

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

Color values

HEX#7C1B2D
RGBrgb(124, 27, 45)
HSLhsl(349, 64%, 30%)
HSVhsv(349, 78%, 49%)
CMYKcmyk(0%, 78.2%, 63.7%, 51.4%)
CIE-LABlab(27.46, 42.06, 14.44)
CIE-LCHlch(27.46, 44.47, 18.94°)
OKLaboklab(39.12% 0.126 0.0352)
OKLCHoklch(39.12% 0.131 15.6)
XYZxyz(9.1787, 5.2598, 3.0140)
Luminance0.0526 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1B2D #1B7C6A
analogous
#7C1B5E #7C1B2D #7C3A1B
triadic
#7C1B2D #2D7C1B #1B2D7C
tetradic
#7C1B2D #5E7C1B #1B7C6A #3A1B7C
square
#7C1B2D #5E7C1B #1B7C6A #3A1B7C
split-complementary
#7C1B2D #1B7C3A #1B5E7C
monochromatic
#190509 #4A101B #7C1B2D #AE263F #D53D59

Accessibility & contrast

On white

10.24
#7C1B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1B2D
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1B2D#FFFFFF#000000##FFFFFF
##7C1B2D1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c1b2d;
/* rgb */ color: rgb(124, 27, 45);
/* oklch */ color: oklch(39.1% 0.131 15.6);
Tailwind
colors: {
  custom: {
    50: '#a86165',
    500: '#7c1b2d',
    950: '#000000',
  },
}
SCSS
$custom: #7c1b2d;
$custom-light: #a86165;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1b2d",
  "rgb": {
    "r": 124,
    "g": 27,
    "b": 45
  },
  "hsl": {
    "h": 348.866,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39115,
    "c": 0.13078,
    "h": 15.6
  },
  "luminance": 0.05258
}

Semantic roles & 50–950 ramp

primary
#7C1B2D
secondary
#43B09C
accent
#E7C841
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110505
muted
#807A7A

Preview Lab

Preview with #7C1B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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