#7C1340#7C1340

#7C1340 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 39.0% C 0.142 H 1.3°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#7C1340
RGBrgb(124, 19, 64)
HSLhsl(334, 73%, 28%)
HSVhsv(334, 85%, 49%)
CMYKcmyk(0%, 84.7%, 48.4%, 51.4%)
CIE-LABlab(27.08, 46.12, 1.07)
CIE-LCHlch(27.08, 46.13, 1.33°)
OKLaboklab(39% 0.1417 0.0033)
OKLCHoklch(39% 0.142 1.3)
XYZxyz(9.4713, 5.1223, 5.3395)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1340 #137C4F
analogous
#7C1374 #7C1340 #7C1B13
triadic
#7C1340 #407C13 #13407C
tetradic
#7C1340 #747C13 #137C4F #1B137C
square
#7C1340 #747C13 #137C4F #1B137C
split-complementary
#7C1340 #137C1B #13747C
monochromatic
#1B040E #470B25 #7C1340 #B11B5B #DF2B78

Accessibility & contrast

On white

10.37
#7C1340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7C1340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1340
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1340#FFFFFF#000000##FFFFFF
##7C13401.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3341
Deuteranopia (green-blind)
#4A473E
Tritanopia (blue-blind)
#870028
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7c1340;
/* rgb */ color: rgb(124, 19, 64);
/* oklch */ color: oklch(39.0% 0.142 1.3);
Tailwind
colors: {
  custom: {
    50: '#a75e74',
    500: '#7c1340',
    950: '#000000',
  },
}
SCSS
$custom: #7c1340;
$custom-light: #a75e74;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1340",
  "rgb": {
    "r": 124,
    "g": 19,
    "b": 64
  },
  "hsl": {
    "h": 334.286,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38997,
    "c": 0.14176,
    "h": 1.3
  },
  "luminance": 0.05121
}

Semantic roles & 50–950 ramp

primary
#7C1340
secondary
#39B27E
accent
#F0A138
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #7C1340

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

Preview Lab → · Contrast checker → · Palette generator →

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