#7C152B#7C152B

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

Color values

HEX#7C152B
RGBrgb(124, 21, 43)
HSLhsl(347, 71%, 28%)
HSVhsv(347, 83%, 49%)
CMYKcmyk(0%, 83.1%, 65.3%, 51.4%)
CIE-LABlab(26.73, 43.88, 14.81)
CIE-LCHlch(26.73, 46.31, 18.65°)
OKLaboklab(38.56% 0.1314 0.0359)
OKLCHoklch(38.56% 0.136 15.3)
XYZxyz(9.0174, 4.9972, 2.7748)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C152B #157C66
analogous
#7C155E #7C152B #7C3215
triadic
#7C152B #2B7C15 #152B7C
tetradic
#7C152B #5E7C15 #157C66 #32157C
square
#7C152B #5E7C15 #157C66 #32157C
split-complementary
#7C152B #157C32 #155E7C
monochromatic
#1A0409 #480C19 #7C152B #B01E3D #DC3054

Accessibility & contrast

On white

10.50
#7C152B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C152B
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C152B#FFFFFF#000000##FFFFFF
##7C152B1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33322B
Deuteranopia (green-blind)
#4D4728
Tritanopia (blue-blind)
#88001F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7c152b;
/* rgb */ color: rgb(124, 21, 43);
/* oklch */ color: oklch(38.6% 0.136 15.3);
Tailwind
colors: {
  custom: {
    50: '#a95e64',
    500: '#7c152b',
    950: '#000000',
  },
}
SCSS
$custom: #7c152b;
$custom-light: #a95e64;
$custom-dark: #000000;
JSON
{
  "hex": "#7c152b",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 43
  },
  "hsl": {
    "h": 347.184,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38557,
    "c": 0.13621,
    "h": 15.3
  },
  "luminance": 0.04996
}

Semantic roles & 50–950 ramp

primary
#7C152B
secondary
#3CB198
accent
#EEC73A
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7C152B

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

Preview Lab → · Contrast checker → · Palette generator →

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