#7C1A3E#7C1A3E

#7C1A3E is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.5% C 0.134 H 3.9°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#7C1A3E
RGBrgb(124, 26, 62)
HSLhsl(338, 65%, 29%)
HSVhsv(338, 79%, 49%)
CMYKcmyk(0%, 79%, 50%, 51.4%)
CIE-LABlab(27.77, 43.79, 3.42)
CIE-LCHlch(27.77, 43.92, 4.46°)
OKLaboklab(39.48% 0.1341 0.0092)
OKLCHoklch(39.48% 0.134 3.9)
XYZxyz(9.5519, 5.3730, 5.0906)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1A3E #1A7C58
analogous
#7C1A6F #7C1A3E #7C271A
triadic
#7C1A3E #3E7C1A #1A3E7C
tetradic
#7C1A3E #6F7C1A #1A7C58 #271A7C
square
#7C1A3E #6F7C1A #1A7C58 #271A7C
split-complementary
#7C1A3E #1A7C27 #1A6F7C
monochromatic
#19050D #490F25 #7C1A3E #AF2557 #D63B74

Accessibility & contrast

On white

10.12
#7C1A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1A3E
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1A3E#FFFFFF#000000##FFFFFF
##7C1A3E1.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32353F
Deuteranopia (green-blind)
#4C483C
Tritanopia (blue-blind)
#87032A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c1a3e;
/* rgb */ color: rgb(124, 26, 62);
/* oklch */ color: oklch(39.5% 0.134 3.9);
Tailwind
colors: {
  custom: {
    50: '#a76173',
    500: '#7c1a3e',
    950: '#000000',
  },
}
SCSS
$custom: #7c1a3e;
$custom-light: #a76173;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1a3e",
  "rgb": {
    "r": 124,
    "g": 26,
    "b": 62
  },
  "hsl": {
    "h": 337.959,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39484,
    "c": 0.13439,
    "h": 3.9
  },
  "luminance": 0.05372
}

Semantic roles & 50–950 ramp

primary
#7C1A3E
secondary
#42B088
accent
#E8AA40
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #7C1A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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