#7C152E#7C152E

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

Color values

HEX#7C152E
RGBrgb(124, 21, 46)
HSLhsl(345, 71%, 28%)
HSVhsv(345, 83%, 49%)
CMYKcmyk(0%, 83.1%, 62.9%, 51.4%)
CIE-LABlab(26.79, 44.08, 12.87)
CIE-LCHlch(26.79, 45.92, 16.28°)
OKLaboklab(38.63% 0.1327 0.0316)
OKLCHoklch(38.63% 0.136 13.4)
XYZxyz(9.0744, 5.0200, 3.0754)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C152E #157C63
analogous
#7C1561 #7C152E #7C2F15
triadic
#7C152E #2E7C15 #152E7C
tetradic
#7C152E #617C15 #157C63 #2F157C
square
#7C152E #617C15 #157C63 #2F157C
split-complementary
#7C152E #157C2F #15617C
monochromatic
#1A040A #480C1B #7C152E #B01E41 #DC3059

Accessibility & contrast

On white

10.48
#7C152E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C152E
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C152E#FFFFFF#000000##FFFFFF
##7C152E1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33322E
Deuteranopia (green-blind)
#4D472B
Tritanopia (blue-blind)
#880020
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7c152e;
/* rgb */ color: rgb(124, 21, 46);
/* oklch */ color: oklch(38.6% 0.136 13.4);
Tailwind
colors: {
  custom: {
    50: '#a85e66',
    500: '#7c152e',
    950: '#000000',
  },
}
SCSS
$custom: #7c152e;
$custom-light: #a85e66;
$custom-dark: #000000;
JSON
{
  "hex": "#7c152e",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 46
  },
  "hsl": {
    "h": 345.437,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38626,
    "c": 0.13639,
    "h": 13.4
  },
  "luminance": 0.05019
}

Semantic roles & 50–950 ramp

primary
#7C152E
secondary
#3CB195
accent
#EEC23A
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7C152E

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

Preview Lab → · Contrast checker → · Palette generator →

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