#7C1740#7C1740

#7C1740 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.3% C 0.138 H 2.0°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#7C1740
RGBrgb(124, 23, 64)
HSLhsl(336, 69%, 29%)
HSVhsv(336, 81%, 49%)
CMYKcmyk(0%, 81.5%, 48.4%, 51.4%)
CIE-LABlab(27.49, 44.95, 1.66)
CIE-LCHlch(27.49, 44.99, 2.12°)
OKLaboklab(39.3% 0.138 0.0048)
OKLCHoklch(39.3% 0.138 2)
XYZxyz(9.5448, 5.2693, 5.3640)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1740 #177C53
analogous
#7C1773 #7C1740 #7C2117
triadic
#7C1740 #407C17 #17407C
tetradic
#7C1740 #737C17 #177C53 #21177C
square
#7C1740 #737C17 #177C53 #21177C
split-complementary
#7C1740 #177C21 #17737C
monochromatic
#1A050D #480D25 #7C1740 #B0215B #D93477

Accessibility & contrast

On white

10.23
#7C1740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7C1740 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1740
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1740#FFFFFF#000000##FFFFFF
##7C17401.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303441
Deuteranopia (green-blind)
#4B483E
Tritanopia (blue-blind)
#870029
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7c1740;
/* rgb */ color: rgb(124, 23, 64);
/* oklch */ color: oklch(39.3% 0.138 2.0);
Tailwind
colors: {
  custom: {
    50: '#a76074',
    500: '#7c1740',
    950: '#000000',
  },
}
SCSS
$custom: #7c1740;
$custom-light: #a76074;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1740",
  "rgb": {
    "r": 124,
    "g": 23,
    "b": 64
  },
  "hsl": {
    "h": 335.644,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39296,
    "c": 0.13805,
    "h": 2
  },
  "luminance": 0.05268
}

Semantic roles & 50–950 ramp

primary
#7C1740
secondary
#3EB182
accent
#ECA43C
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #7C1740

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

Preview Lab → · Contrast checker → · Palette generator →

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