#7C151C#7C151C

#7C151C is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.3% C 0.137 H 23.6°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#7C151C
RGBrgb(124, 21, 28)
HSLhsl(356, 71%, 28%)
HSVhsv(356, 83%, 49%)
CMYKcmyk(0%, 83.1%, 77.4%, 51.4%)
CIE-LABlab(26.47, 43.07, 24.41)
CIE-LCHlch(26.47, 49.51, 29.54°)
OKLaboklab(38.28% 0.1253 0.0548)
OKLCHoklch(38.28% 0.137 23.6)
XYZxyz(8.7910, 4.9067, 1.5826)
Luminance0.0491 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C151C #157C75
analogous
#7C154F #7C151C #7C4115
triadic
#7C151C #1C7C15 #151C7C
tetradic
#7C151C #4F7C15 #157C75 #41157C
square
#7C151C #4F7C15 #157C75 #41157C
split-complementary
#7C151C #157C41 #154F7C
monochromatic
#1A0406 #480C10 #7C151C #B01E28 #DC303B

Accessibility & contrast

On white

10.60
#7C151C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#7C151C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C151C
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C151C#FFFFFF#000000##FFFFFF
##7C151C1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35301B
Deuteranopia (green-blind)
#4F4618
Tritanopia (blue-blind)
#890019
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7c151c;
/* rgb */ color: rgb(124, 21, 28);
/* oklch */ color: oklch(38.3% 0.137 23.6);
Tailwind
colors: {
  custom: {
    50: '#aa5e58',
    500: '#7c151c',
    950: '#000000',
  },
}
SCSS
$custom: #7c151c;
$custom-light: #aa5e58;
$custom-dark: #000000;
JSON
{
  "hex": "#7c151c",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 28
  },
  "hsl": {
    "h": 355.922,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38281,
    "c": 0.13676,
    "h": 23.6
  },
  "luminance": 0.04905
}

Semantic roles & 50–950 ramp

primary
#7C151C
secondary
#3CB1A9
accent
#EEE23A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7C151C

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

Preview Lab → · Contrast checker → · Palette generator →

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