#7C1E52#7C1E52

#7C1E52 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.138 H 351.2°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#7C1E52
RGBrgb(124, 30, 82)
HSLhsl(327, 61%, 30%)
HSVhsv(327, 76%, 49%)
CMYKcmyk(0%, 75.8%, 33.9%, 51.4%)
CIE-LABlab(28.96, 44.57, -8.16)
CIE-LCHlch(28.96, 45.31, 349.62°)
OKLaboklab(40.59% 0.1363 -0.0212)
OKLCHoklch(40.59% 0.138 351.2)
XYZxyz(10.3000, 5.8240, 8.5627)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1E52 #1E7C48
analogous
#771E7C #7C1E52 #7C1E23
triadic
#7C1E52 #527C1E #1E527C
tetradic
#7C1E52 #7C771E #1E7C48 #1E237C
square
#7C1E52 #7C771E #1E7C48 #1E237C
split-complementary
#7C1E52 #237C1E #1E7C77
monochromatic
#190611 #4B1231 #7C1E52 #AD2A73 #D14392

Accessibility & contrast

On white

9.70
#7C1E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7C1E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1E52
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1E52#FFFFFF#000000##FFFFFF
##7C1E521.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3A53
Deuteranopia (green-blind)
#494A50
Tritanopia (blue-blind)
#861735
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c1e52;
/* rgb */ color: rgb(124, 30, 82);
/* oklch */ color: oklch(40.6% 0.138 351.2);
Tailwind
colors: {
  custom: {
    50: '#a66382',
    500: '#7c1e52',
    950: '#000000',
  },
}
SCSS
$custom: #7c1e52;
$custom-light: #a66382;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1e52",
  "rgb": {
    "r": 124,
    "g": 30,
    "b": 82
  },
  "hsl": {
    "h": 326.809,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40585,
    "c": 0.13796,
    "h": 351.2
  },
  "luminance": 0.05823
}

Semantic roles & 50–950 ramp

primary
#7C1E52
secondary
#46AF75
accent
#E48B44
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7C1E52

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

Preview Lab → · Contrast checker → · Palette generator →

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