#7C1A58#7C1A58

#7C1A58 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.146 H 346.9°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#7C1A58
RGBrgb(124, 26, 88)
HSLhsl(322, 65%, 29%)
HSVhsv(322, 79%, 49%)
CMYKcmyk(0%, 79%, 29%, 51.4%)
CIE-LABlab(28.72, 46.72, -12.49)
CIE-LCHlch(28.72, 48.36, 345.04°)
OKLaboklab(40.49% 0.1422 -0.033)
OKLCHoklch(40.49% 0.146 346.9)
XYZxyz(10.4435, 5.7296, 9.7866)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1A58 #1A7C3E
analogous
#6F1A7C #7C1A58 #7C1A27
triadic
#7C1A58 #587C1A #1A587C
tetradic
#7C1A58 #7C6F1A #1A7C3E #1A277C
square
#7C1A58 #7C6F1A #1A7C3E #1A277C
split-complementary
#7C1A58 #277C1A #1A7C6F
monochromatic
#190512 #490F34 #7C1A58 #AF257C #D63B9D

Accessibility & contrast

On white

9.79
#7C1A58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7C1A58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1A58
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1A58#FFFFFF#000000##FFFFFF
##7C1A581.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28395A
Deuteranopia (green-blind)
#464A56
Tritanopia (blue-blind)
#851637
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c1a58;
/* rgb */ color: rgb(124, 26, 88);
/* oklch */ color: oklch(40.5% 0.146 346.9);
Tailwind
colors: {
  custom: {
    50: '#a66287',
    500: '#7c1a58',
    950: '#000000',
  },
}
SCSS
$custom: #7c1a58;
$custom-light: #a66287;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1a58",
  "rgb": {
    "r": 124,
    "g": 26,
    "b": 88
  },
  "hsl": {
    "h": 322.041,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40487,
    "c": 0.14599,
    "h": 346.9
  },
  "luminance": 0.05728
}

Semantic roles & 50–950 ramp

primary
#7C1A58
secondary
#42B06A
accent
#E87E40
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7C1A58

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

Preview Lab → · Contrast checker → · Palette generator →

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