#7C1240#7C1240

#7C1240 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.9% C 0.143 H 1.2°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#7C1240
RGBrgb(124, 18, 64)
HSLhsl(334, 75%, 28%)
HSVhsv(334, 85%, 49%)
CMYKcmyk(0%, 85.5%, 48.4%, 51.4%)
CIE-LABlab(26.99, 46.38, 0.94)
CIE-LCHlch(26.99, 46.39, 1.16°)
OKLaboklab(38.93% 0.1426 0.0029)
OKLCHoklch(38.93% 0.143 1.2)
XYZxyz(9.4547, 5.0892, 5.3339)
Luminance0.0509 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1240 #127C4E
analogous
#7C1275 #7C1240 #7C1912
triadic
#7C1240 #407C12 #12407C
tetradic
#7C1240 #757C12 #127C4E #19127C
square
#7C1240 #757C12 #127C4E #19127C
split-complementary
#7C1240 #127C19 #12757C
monochromatic
#1B040E #470A24 #7C1240 #B11A5C #E02978

Accessibility & contrast

On white

10.41
#7C1240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1240
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1240#FFFFFF#000000##FFFFFF
##7C12401.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c1240;
/* rgb */ color: rgb(124, 18, 64);
/* oklch */ color: oklch(38.9% 0.143 1.2);
Tailwind
colors: {
  custom: {
    50: '#a75e74',
    500: '#7c1240',
    950: '#000000',
  },
}
SCSS
$custom: #7c1240;
$custom-light: #a75e74;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1240",
  "rgb": {
    "r": 124,
    "g": 18,
    "b": 64
  },
  "hsl": {
    "h": 333.962,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38928,
    "c": 0.14261,
    "h": 1.2
  },
  "luminance": 0.05088
}

Semantic roles & 50–950 ramp

primary
#7C1240
secondary
#38B27D
accent
#F1A037
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #7C1240

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

Preview Lab → · Contrast checker → · Palette generator →

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