#7C1E54#7C1E54

#7C1E54 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.7% C 0.139 H 349.9°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#7C1E54
RGBrgb(124, 30, 84)
HSLhsl(326, 61%, 30%)
HSVhsv(326, 76%, 49%)
CMYKcmyk(0%, 75.8%, 32.3%, 51.4%)
CIE-LABlab(29.04, 44.82, -9.36)
CIE-LCHlch(29.04, 45.79, 348.20°)
OKLaboklab(40.67% 0.1369 -0.0244)
OKLCHoklch(40.67% 0.139 349.9)
XYZxyz(10.3772, 5.8549, 8.9694)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1E54 #1E7C46
analogous
#751E7C #7C1E54 #7C1E25
triadic
#7C1E54 #547C1E #1E547C
tetradic
#7C1E54 #7C751E #1E7C46 #1E257C
square
#7C1E54 #7C751E #1E7C46 #1E257C
split-complementary
#7C1E54 #257C1E #1E7C75
monochromatic
#190611 #4B1233 #7C1E54 #AD2A75 #D14395

Accessibility & contrast

On white

9.67
#7C1E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7C1E54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1E54
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1E54#FFFFFF#000000##FFFFFF
##7C1E541.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3A55
Deuteranopia (green-blind)
#484A52
Tritanopia (blue-blind)
#851836
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c1e54;
/* rgb */ color: rgb(124, 30, 84);
/* oklch */ color: oklch(40.7% 0.139 349.9);
Tailwind
colors: {
  custom: {
    50: '#a66384',
    500: '#7c1e54',
    950: '#000000',
  },
}
SCSS
$custom: #7c1e54;
$custom-light: #a66384;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1e54",
  "rgb": {
    "r": 124,
    "g": 30,
    "b": 84
  },
  "hsl": {
    "h": 325.532,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40669,
    "c": 0.13904,
    "h": 349.9
  },
  "luminance": 0.05854
}

Semantic roles & 50–950 ramp

primary
#7C1E54
secondary
#46AF73
accent
#E48844
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7C1E54

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

Preview Lab → · Contrast checker → · Palette generator →

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