#7C152A#7C152A

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

Color values

HEX#7C152A
RGBrgb(124, 21, 42)
HSLhsl(348, 71%, 28%)
HSVhsv(348, 83%, 49%)
CMYKcmyk(0%, 83.1%, 66.1%, 51.4%)
CIE-LABlab(26.71, 43.81, 15.46)
CIE-LCHlch(26.71, 46.46, 19.44°)
OKLaboklab(38.54% 0.131 0.0372)
OKLCHoklch(38.54% 0.136 15.9)
XYZxyz(8.9992, 4.9900, 2.6793)
Luminance0.0499 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C152A #157C67
analogous
#7C155D #7C152A #7C3315
triadic
#7C152A #2A7C15 #152A7C
tetradic
#7C152A #5D7C15 #157C67 #33157C
square
#7C152A #5D7C15 #157C67 #33157C
split-complementary
#7C152A #157C33 #155D7C
monochromatic
#1A0409 #480C18 #7C152A #B01E3C #DC3053

Accessibility & contrast

On white

10.51
#7C152A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7C152A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C152A
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C152A#FFFFFF#000000##FFFFFF
##7C152A1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34312A
Deuteranopia (green-blind)
#4E4727
Tritanopia (blue-blind)
#89001E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7c152a;
/* rgb */ color: rgb(124, 21, 42);
/* oklch */ color: oklch(38.5% 0.136 15.9);
Tailwind
colors: {
  custom: {
    50: '#a95e63',
    500: '#7c152a',
    950: '#000000',
  },
}
SCSS
$custom: #7c152a;
$custom-light: #a95e63;
$custom-dark: #000000;
JSON
{
  "hex": "#7c152a",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 42
  },
  "hsl": {
    "h": 347.767,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38535,
    "c": 0.13618,
    "h": 15.9
  },
  "luminance": 0.04989
}

Semantic roles & 50–950 ramp

primary
#7C152A
secondary
#3CB199
accent
#EEC93A
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7C152A

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

Preview Lab → · Contrast checker → · Palette generator →

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