#7C1840#7C1840

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

Color values

HEX#7C1840
RGBrgb(124, 24, 64)
HSLhsl(336, 68%, 29%)
HSVhsv(336, 81%, 49%)
CMYKcmyk(0%, 80.6%, 48.4%, 51.4%)
CIE-LABlab(27.60, 44.64, 1.82)
CIE-LCHlch(27.60, 44.68, 2.34°)
OKLaboklab(39.38% 0.137 0.0052)
OKLCHoklch(39.38% 0.137 2.2)
XYZxyz(9.5650, 5.3098, 5.3707)
Luminance0.0531 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1840 #187C54
analogous
#7C1872 #7C1840 #7C2218
triadic
#7C1840 #407C18 #18407C
tetradic
#7C1840 #727C18 #187C54 #22187C
square
#7C1840 #727C18 #187C54 #22187C
split-complementary
#7C1840 #187C22 #18727C
monochromatic
#1A050D #490E26 #7C1840 #AF225A #D83677

Accessibility & contrast

On white

10.19
#7C1840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7C1840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1840
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1840#FFFFFF#000000##FFFFFF
##7C18401.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303541
Deuteranopia (green-blind)
#4B483E
Tritanopia (blue-blind)
#87012A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7c1840;
/* rgb */ color: rgb(124, 24, 64);
/* oklch */ color: oklch(39.4% 0.137 2.2);
Tailwind
colors: {
  custom: {
    50: '#a76074',
    500: '#7c1840',
    950: '#000000',
  },
}
SCSS
$custom: #7c1840;
$custom-light: #a76074;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1840",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 64
  },
  "hsl": {
    "h": 336,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39377,
    "c": 0.13706,
    "h": 2.2
  },
  "luminance": 0.05309
}

Semantic roles & 50–950 ramp

primary
#7C1840
secondary
#3FB183
accent
#EAA53D
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #7C1840

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

Preview Lab → · Contrast checker → · Palette generator →

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