#7C1A3A#7C1A3A

#7C1A3A is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.133 H 6.7°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#7C1A3A
RGBrgb(124, 26, 58)
HSLhsl(340, 65%, 29%)
HSVhsv(340, 79%, 49%)
CMYKcmyk(0%, 79%, 53.2%, 51.4%)
CIE-LABlab(27.66, 43.43, 5.95)
CIE-LCHlch(27.66, 43.83, 7.80°)
OKLaboklab(39.36% 0.1325 0.0155)
OKLCHoklch(39.36% 0.133 6.7)
XYZxyz(9.4461, 5.3307, 4.5337)
Luminance0.0533 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1A3A #1A7C5C
analogous
#7C1A6B #7C1A3A #7C2B1A
triadic
#7C1A3A #3A7C1A #1A3A7C
tetradic
#7C1A3A #6B7C1A #1A7C5C #2B1A7C
square
#7C1A3A #6B7C1A #1A7C5C #2B1A7C
split-complementary
#7C1A3A #1A7C2B #1A6B7C
monochromatic
#19050C #490F22 #7C1A3A #AF2552 #D63B6D

Accessibility & contrast

On white

10.17
#7C1A3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7C1A3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1A3A
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1A3A#FFFFFF#000000##FFFFFF
##7C1A3A1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33353B
Deuteranopia (green-blind)
#4D4838
Tritanopia (blue-blind)
#880028
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7c1a3a;
/* rgb */ color: rgb(124, 26, 58);
/* oklch */ color: oklch(39.4% 0.133 6.7);
Tailwind
colors: {
  custom: {
    50: '#a7616f',
    500: '#7c1a3a',
    950: '#000000',
  },
}
SCSS
$custom: #7c1a3a;
$custom-light: #a7616f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1a3a",
  "rgb": {
    "r": 124,
    "g": 26,
    "b": 58
  },
  "hsl": {
    "h": 340.408,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39362,
    "c": 0.13341,
    "h": 6.7
  },
  "luminance": 0.05329
}

Semantic roles & 50–950 ramp

primary
#7C1A3A
secondary
#42B08C
accent
#E8B140
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100507
muted
#7F7A7A

Preview Lab

Preview with #7C1A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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