#7C1939#7C1939

#7C1939 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.2% C 0.134 H 7.1°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#7C1939
RGBrgb(124, 25, 57)
HSLhsl(341, 66%, 29%)
HSVhsv(341, 80%, 49%)
CMYKcmyk(0%, 79.8%, 54%, 51.4%)
CIE-LABlab(27.51, 43.67, 6.42)
CIE-LCHlch(27.51, 44.14, 8.36°)
OKLaboklab(39.24% 0.1332 0.0166)
OKLCHoklch(39.24% 0.134 7.1)
XYZxyz(9.3992, 5.2771, 4.3937)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1939 #197C5C
analogous
#7C196B #7C1939 #7C2B19
triadic
#7C1939 #397C19 #19397C
tetradic
#7C1939 #6B7C19 #197C5C #2B197C
square
#7C1939 #6B7C19 #197C5C #2B197C
split-complementary
#7C1939 #197C2B #196B7C
monochromatic
#19050C #490F22 #7C1939 #AF2350 #D7386C

Accessibility & contrast

On white

10.22
#7C1939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1939
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1939#FFFFFF#000000##FFFFFF
##7C19391.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33343A
Deuteranopia (green-blind)
#4C4837
Tritanopia (blue-blind)
#880027
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7c1939;
/* rgb */ color: rgb(124, 25, 57);
/* oklch */ color: oklch(39.2% 0.134 7.1);
Tailwind
colors: {
  custom: {
    50: '#a7606f',
    500: '#7c1939',
    950: '#000000',
  },
}
SCSS
$custom: #7c1939;
$custom-light: #a7606f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1939",
  "rgb": {
    "r": 124,
    "g": 25,
    "b": 57
  },
  "hsl": {
    "h": 340.606,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39244,
    "c": 0.13422,
    "h": 7.1
  },
  "luminance": 0.05276
}

Semantic roles & 50–950 ramp

primary
#7C1939
secondary
#40B08C
accent
#E9B23E
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100507
muted
#7F7A7A

Preview Lab

Preview with #7C1939

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

Preview Lab → · Contrast checker → · Palette generator →

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