#7C1527#7C1527

#7C1527 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.5% C 0.136 H 17.7°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#7C1527
RGBrgb(124, 21, 39)
HSLhsl(350, 71%, 28%)
HSVhsv(350, 83%, 49%)
CMYKcmyk(0%, 83.1%, 68.5%, 51.4%)
CIE-LABlab(26.65, 43.63, 17.40)
CIE-LCHlch(26.65, 46.97, 21.74°)
OKLaboklab(38.47% 0.1297 0.0413)
OKLCHoklch(38.47% 0.136 17.7)
XYZxyz(8.9475, 4.9693, 2.4071)
Luminance0.0497 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1527 #157C6A
analogous
#7C155A #7C1527 #7C3715
triadic
#7C1527 #277C15 #15277C
tetradic
#7C1527 #5A7C15 #157C6A #37157C
square
#7C1527 #5A7C15 #157C6A #37157C
split-complementary
#7C1527 #157C37 #155A7C
monochromatic
#1A0408 #480C17 #7C1527 #B01E37 #DC304E

Accessibility & contrast

On white

10.53
#7C1527 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#7C1527 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1527
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1527#FFFFFF#000000##FFFFFF
##7C15271.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343127
Deuteranopia (green-blind)
#4E4724
Tritanopia (blue-blind)
#89001D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7c1527;
/* rgb */ color: rgb(124, 21, 39);
/* oklch */ color: oklch(38.5% 0.136 17.7);
Tailwind
colors: {
  custom: {
    50: '#a95e60',
    500: '#7c1527',
    950: '#000000',
  },
}
SCSS
$custom: #7c1527;
$custom-light: #a95e60;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1527",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 39
  },
  "hsl": {
    "h": 349.515,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38472,
    "c": 0.13614,
    "h": 17.7
  },
  "luminance": 0.04968
}

Semantic roles & 50–950 ramp

primary
#7C1527
secondary
#3CB19D
accent
#EECE3A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7C1527

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

Preview Lab → · Contrast checker → · Palette generator →

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